mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[test] Add SWIFT_USE_OLD_DRIVER=1 to some tests
The behavior of these tests varies depending on whether the new or old driver is being used, force the old driver for now.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Check that a failed process-tree emits nonzero failure counters
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: echo zzz >%t/other.swift
|
||||
// RUN: not %target-swiftc_driver -continue-building-after-errors -D BROKEN -j 2 -typecheck -stats-output-dir %t %s %t/other.swift
|
||||
// RUN: not env SWIFT_USE_OLD_DRIVER=1 %target-swiftc_driver -continue-building-after-errors -D BROKEN -j 2 -typecheck -stats-output-dir %t %s %t/other.swift
|
||||
// RUN: %{python} %utils/process-stats-dir.py --set-csv-baseline %t/stats.csv %t
|
||||
// RUN: %FileCheck -input-file %t/stats.csv -check-prefix=FAILURE %s
|
||||
// FAILURE: {{"Driver.NumProcessFailures" 1$}}
|
||||
|
||||
Reference in New Issue
Block a user