Commit Graph

10 Commits

Author SHA1 Message Date
Robert Widmann
80db895ba2 [NFC] Adapt Tests to the New Default
Now that incremental imports are the default, flip the polarity in some tests.
2021-03-01 17:26:00 -08:00
Robert Widmann
baaa035b05 XFAIL Flaky Incremental Tests Harder 2020-11-17 21:06:53 -08:00
Robert Widmann
025543bfb6 Ban Incremental CrossModule Tests in Optimized Stdlib Configurations
rdar://70772320
2020-11-11 11:33:09 -08:00
Robert Widmann
c808ab120a [DNM] Workaround More Modtimes Bugs 2020-11-04 11:40:20 -08:00
Robert Widmann
b22d2c943f Hack Around Incremental Test Mod Times Bugs In Binutils
Modification times are not accurately maintained by tools like cp. Touch
these build products explicitly to kick the incremental machinery into
gear.
2020-11-03 17:04:44 -08:00
Robert Widmann
6b67564ebe Mark Some Incremental Cross-Module Tests As Unsupported on Simulators
Simulator hosts don't make good candidates for these tests, and they
appear to be acting up anyways.

rdar://70772320
2020-10-30 13:12:02 -07:00
Robert Widmann
bcd0cb6a0a Use Relative Path to Test Inputs
Unfortunately, OutputFileMap does not normalize input names when it is constructing keys. Instead, keys to the map are formed by appending the entry's value directly onto the working directory with the test host's path separator convention.

On Windows, the tests here were using UNIX-style path separators when passing inputs to the Driver, so the key was

"C:\Path\To\File\A.swift"

But the input path to the driver was

"C:\Path\To\File/A.swift"

To work around this - and to ultimately make the test slightly more portable - just use relative paths to the input files since we've already changed directories to the working directory before we run these driver commands.
2020-10-19 14:09:36 -07:00
Robert Widmann
6fc78d5fbf Switch To target-swiftc_driver
Try to pass an explicit target to these tests so more exotic hosts do
the right thing.

rdar://70175753
2020-10-19 12:27:55 -07:00
Brent Royal-Gordon
6f15007656 XFAIL Incremental/CrossModule tests
These are failing in multiple bots; it looks like they need more time to bake.
2020-10-11 17:05:54 -07:00
Robert Widmann
4099ddfdeb Ensure Changes to External Dependencies Cascade
We cannot know a-priori how a change to an external dependency will
affect the resulting structure of every file in the module that depends
upon it. Therefore, we must be conservative and ensure that these
dependent files always rebuild. Commit a test to this effect.
2020-10-09 10:43:23 -07:00