File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -Xfrontend -disable-access-control -module-name main %s -o %t/hash
3
3
// RUN: %target-codesign %t/hash
4
- // RUN: (export -n %env-SWIFT_DETERMINISTIC_HASHING; %target-run %t/hash && %target-run %t/hash) | %FileCheck --check-prefixes=RANDOM %s
5
- // RUN: (export %env-SWIFT_DETERMINISTIC_HASHING=1; %target-run %t/hash && %target-run %t/hash) | %FileCheck --check-prefixes=STABLE %s
4
+ // RUN: env -u %env-SWIFT_DETERMINISTIC_HASHING %target-run %t/hash > %t/nondeterministic.log
5
+ // RUN: env -u %env-SWIFT_DETERMINISTIC_HASHING %target-run %t/hash >> %t/nondeterministic.log
6
+ // RUN: %FileCheck --check-prefixes=RANDOM %s < %t/nondeterministic.log
7
+ // RUN: env %env-SWIFT_DETERMINISTIC_HASHING=1 %target-run %t/hash > %t/deterministic.log
8
+ // RUN: env %env-SWIFT_DETERMINISTIC_HASHING=1 %target-run %t/hash >> %t/deterministic.log
9
+ // RUN: %FileCheck --check-prefixes=STABLE %s < %t/deterministic.log
6
10
7
11
// REQUIRES: executable_test
8
12
You can’t perform that action at this time.
0 commit comments