summaryrefslogtreecommitdiff
path: root/Test/lit.site.cfg
diff options
context:
space:
mode:
authorGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-06 20:36:40 +0100
committerGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-06 20:36:40 +0100
commitf6a1c1c597027ad99dbfaea1032dffecff26829e (patch)
tree463a54744bec3706be196001dc5ed84592392b77 /Test/lit.site.cfg
parent6c78b619a18eadac82f4cb54d2c5bb5e8c0b547c (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.
Diffstat (limited to 'Test/lit.site.cfg')
-rw-r--r--Test/lit.site.cfg2
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')