[Git][ghc/ghc][wip/junit-fixes] Fix

Ben Gamari gitlab at gitlab.haskell.org
Mon Jun 24 01:36:16 UTC 2019



Ben Gamari pushed to branch wip/junit-fixes at Glasgow Haskell Compiler / GHC


Commits:
b3d40b18 by Ben Gamari at 2019-06-24T01:36:09Z
Fix

- - - - -


1 changed file:

- testsuite/driver/testlib.py


Changes:

=====================================
testsuite/driver/testlib.py
=====================================
@@ -1782,8 +1782,8 @@ def compare_outputs(way: WayName,
                                                            actual_normalised_path),
                            stdout=diff_file,
                            print_output=True)
-        elif diff_file: open(diff_file, 'ab').close() # Make sure the file exists still as
-                                            # we will try to read it later
+        elif diff_file: diff_file.open('ab').close() # Make sure the file exists still as
+                                                     # we will try to read it later
 
         if config.accept and (getTestOpts().expect == 'fail' or
                               way in getTestOpts().expect_fail_for):



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/b3d40b1818911a568ed25df4256cf2169b9e126e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/b3d40b1818911a568ed25df4256cf2169b9e126e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190623/ce6d64bd/attachment-0001.html>


More information about the ghc-commits mailing list