summaryrefslogtreecommitdiff
path: root/testsuite/driver
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-09-01 15:14:18 -0500
committerAustin Seipp <austin@well-typed.com>2014-09-01 15:14:18 -0500
commit9711f78f790d10d914e08851544c6fc96f9a030a (patch)
tree5c0153f04cb153257a96f71c45aa1cf865cc8128 /testsuite/driver
parent918719b936b878ab660f20ceef8afc9e3a898c5a (diff)
downloadhaskell-9711f78f790d10d914e08851544c6fc96f9a030a.tar.gz
Fix a couple test failures encountered when building on Windows
Summary: * Adjusts performance tests * Change ghcpkg05.stderr-mingw32 to match ghcpkg05.stderr Test Plan: Ran 'sh validate' and observed fewer test failures afterwards Reviewers: austin Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D191
Diffstat (limited to 'testsuite/driver')
-rw-r--r--testsuite/driver/runtests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index 103c7ace7c..52b5471362 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -143,8 +143,11 @@ if windows:
# msys gives "MINGW32"
# msys2 gives "MINGW_NT-6.2"
config.msys = True
+# msys2 gives 'MSYS_NT-6.3' unless you set MSYSTEM, which is also needed elsewhere
+ elif v.startswith("MSYS"):
+ raise Exception("Remember to set your MSYSTEM environment variable to MINGW32 or MINGW64")
else:
- raise Exception("Can't detect Windows terminal type")
+ raise Exception("Can't detect Windows terminal type: " + v)
# Try to use UTF8
if windows: