Skip to content

Commit e3840ce

Browse files
committed
tests: exclude a test on linux rather than xfail it.
The test is not deterministic on linux and can actually pass in some cases.
1 parent be62491 commit e3840ce

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/stdlib/ReflectionHashing.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
// RUN: %target-run %t.out
33
// REQUIRES: executable_test
44

5-
// XFAIL: linux
5+
// This test expects consistent hash code generation. However String instance
6+
// generate different values on Linux depending on which version of libicu is
7+
// installed. Therefore we run this test only on non-linux OSes, which is
8+
// best described as having objc_interop.
9+
10+
// REQUIRES: objc_interop
611

712
//
813
// This file contains reflection tests that depend on hash values.

0 commit comments

Comments
 (0)