win64/clang+msvc: Skip failing tests and mark flaky test as hopeful

This commit is contained in:
Frederik Carlier 2024-04-28 20:19:01 +02:00
parent 6f9af4349c
commit 6173861248
No known key found for this signature in database
GPG key ID: 11638A1220ED91C7
5 changed files with 36 additions and 3 deletions

View file

@ -59,8 +59,16 @@ int main()
url = [NSURL URLWithString: @"https://httpbin.org/silly-file-name"];
data = [url resourceDataUsingCache: NO];
num = [url propertyForKey: NSHTTPPropertyStatusCodeKey];
#if defined(_WIN64) && defined(_MSC_VER)
testHopeful = YES;
#endif
PASS_EQUAL(num, [NSNumber numberWithInt: 404],
"Status of load is 404 for httpbin.org/silly-file-name");
#if defined(_WIN64) && defined(_MSC_VER)
testHopeful = YES;
#endif
str = [url scheme];
PASS([str isEqual: @"https"],
"Scheme of https://httpbin.org/silly-file-name is https");