Fixed T5435_dyn_asm on Windows. The test code was not in sync with the expected output.
authorGintautas Miliauskas <gintautas.miliauskas@gmail.com>
Sat, 1 Nov 2014 13:20:45 +0000 (08:20 -0500)
committerAustin Seipp <austin@well-typed.com>
Sat, 1 Nov 2014 13:20:46 +0000 (08:20 -0500)
Reviewers: austin

Reviewed By: austin

Subscribers: thomie, carter, simonmar

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

GHC Trac Issues: #5435

testsuite/tests/rts/all.T

index 015a9c7..6d08594 100644 (file)
@@ -142,6 +142,8 @@ def checkDynAsm(actual_file, normaliser):
     elif actual == ['ctors1', 'ctors2', 'initArray1', 'initArray2', 'success']:
         if_verbose(1, 'T5435_dyn_asm detected old-style dlopen, see #8458')
         return 1
+    elif opsys('mingw32') and actual == ['ctors1', 'ctors2', 'success']:
+        return 1
     else:
         if_verbose(1, 'T5435_dyn_asm failed with %s, see all.T for details' % actual)
         return 0