testsuite: Ensure that config.{msys,cygwin} are initialized
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 21 Jan 2019 01:45:34 +0000 (20:45 -0500)
committerBen Gamari <ben@well-typed.com>
Wed, 23 Jan 2019 19:07:28 +0000 (14:07 -0500)
Reviewers: monoidal

Reviewed By: monoidal

Subscribers: monoidal, rwbarton, carter

Differential Revision: https://phabricator.haskell.org/D5056

testsuite/driver/testglobals.py

index 03a6250..0e0240d 100644 (file)
@@ -50,6 +50,8 @@ class TestConfig:
         self.platform = ''
         self.os = ''
         self.arch = ''
+        self.msys = False
+        self.cygwin = False
 
         # What is the wordsize (in bits) of this platform?
         self.wordsize = ''