|
18 | 18 | // RUN: %{python} %S/../CAS/Inputs/SwiftDepsExtractor.py %t/deps-1.json Library modulePath > %t/path-1 |
19 | 19 | // RUN: %{python} %S/../CAS/Inputs/SwiftDepsExtractor.py %t/deps-2.json Library modulePath > %t/path-2 |
20 | 20 | // RUN: %{python} %S/../CAS/Inputs/SwiftDepsExtractor.py %t/deps-3.json Library modulePath > %t/path-3 |
21 | | -// RUN: diff %t/path-1 %t/path-2 |
| 21 | +// RUN: not diff %t/path-1 %t/path-2 |
22 | 22 | // RUN: not diff %t/path-1 %t/path-3 |
23 | 23 |
|
24 | 24 | /// Check build command (exclude dependency module file path). 1 and 2 should match, but not 3. |
25 | 25 | // RUN: %{python} %S/../CAS/Inputs/BuildCommandExtractor.py %t/deps-1.json Library | grep -v fmodule-file= > %t/lib-1.cmd |
26 | 26 | // RUN: %{python} %S/../CAS/Inputs/BuildCommandExtractor.py %t/deps-2.json Library | grep -v fmodule-file= > %t/lib-2.cmd |
27 | 27 | // RUN: %{python} %S/../CAS/Inputs/BuildCommandExtractor.py %t/deps-3.json Library | grep -v fmodule-file= > %t/lib-3.cmd |
28 | | -// RUN: diff %t/lib-1.cmd %t/lib-2.cmd |
| 28 | +// RUN: not diff %t/lib-1.cmd %t/lib-2.cmd |
29 | 29 | // RUN: not diff %t/lib-1.cmd %t/lib-3.cmd |
30 | 30 |
|
31 | 31 | /// Test direct-cc1 mode. |
|
42 | 42 | // RUN: %{python} %S/../CAS/Inputs/SwiftDepsExtractor.py %t/deps-4.json Library modulePath > %t/path-4 |
43 | 43 | // RUN: %{python} %S/../CAS/Inputs/SwiftDepsExtractor.py %t/deps-5.json Library modulePath > %t/path-5 |
44 | 44 | // RUN: %{python} %S/../CAS/Inputs/SwiftDepsExtractor.py %t/deps-6.json Library modulePath > %t/path-6 |
45 | | -// RUN: diff %t/path-4 %t/path-5 |
| 45 | +// RUN: not diff %t/path-4 %t/path-5 |
46 | 46 | // RUN: not diff %t/path-4 %t/path-6 |
47 | 47 | // RUN: %{python} %S/../CAS/Inputs/BuildCommandExtractor.py %t/deps-4.json Library | grep -v fmodule-file= > %t/lib-4.cmd |
48 | 48 | // RUN: %{python} %S/../CAS/Inputs/BuildCommandExtractor.py %t/deps-5.json Library | grep -v fmodule-file= > %t/lib-5.cmd |
49 | 49 | // RUN: %{python} %S/../CAS/Inputs/BuildCommandExtractor.py %t/deps-6.json Library | grep -v fmodule-file= > %t/lib-6.cmd |
50 | | -// RUN: diff %t/lib-4.cmd %t/lib-5.cmd |
| 50 | +// RUN: not diff %t/lib-4.cmd %t/lib-5.cmd |
51 | 51 | // RUN: not diff %t/lib-4.cmd %t/lib-6.cmd |
52 | 52 |
|
53 | 53 | //--- main.swift |
|
0 commit comments