diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-05-06 20:36:40 +0100 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-05-06 20:36:40 +0100 |
commit | f6a1c1c597027ad99dbfaea1032dffecff26829e (patch) | |
tree | 463a54744bec3706be196001dc5ed84592392b77 | |
parent | 6c78b619a18eadac82f4cb54d2c5bb5e8c0b547c (diff) |
For lit tests running on Windows pass /W flag to the fc tool
so that all whitespace (including mismatching line endings due
to DOS vs UNIX) are ignored. This fixes the test1/Arrays.bpl
test under Windows. It's quite suprising this issue didn't
come up earlier.
-rw-r--r-- | Test/lit.site.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/lit.site.cfg b/Test/lit.site.cfg index 4997e836..c60ed3e3 100644 --- a/Test/lit.site.cfg +++ b/Test/lit.site.cfg @@ -96,7 +96,7 @@ diffExecutable = None if os.name == 'posix': diffExecutable = 'diff --unified=3' elif os.name == 'nt': - diffExecutable = 'fc' + diffExecutable = 'fc /W' else: lit_config.fatal('Unsupported platform') |