Commit Graph

3 Commits

Author SHA1 Message Date
Ben Barham
c163e0fe5e [Tests] Make OS features consistent
lit.py currently allows any substring of `target_triple` to be used as a
feature in REQUIRES/UNSUPPORTED/XFAIL. This results in various forms of
the OS spread across the tests and is also somewhat confusing since they
aren't actually listed in the available features.

Modify all OS-related features to use the `OS=` version that Swift adds
instead. We can later remove `config.target_triple` so that these don't
the non-OS versions don't work in the first place.
2022-05-20 19:51:23 -07:00
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Jordan Rose
bdc009e20a [test] Disable shebang test on Linux.
This test creates a shebang (#!) line that may exceed 80 characters, which is
a limit on many systems. Instead, use /usr/bin/env to invoke the right 'swift'.

OS X is more permissive (up to PATH_MAX characters), so continue testing the
direct invocation there.
2016-01-15 10:40:46 -08:00