diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-06-11 09:54:55 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-06-11 17:31:43 -0400 |
commit | 43fd712b4f679fe00d6d75c8bc088357052a0365 (patch) | |
tree | bd33768330b08856d9f82675acb9ce5b78208234 /libraries/base/tests/enum_processor.py | |
parent | e5d275f45677ed89df310754973a15c522dc1003 (diff) | |
download | haskell-wip/T16798.tar.gz |
testsuite: A more portable solution to #9399wip/T16798
Previously we used an awful hybrid batch script/Bourne shell script to
allow this test to run both on Windows and Linux (fixing #9399).
However, this breaks on some libc implementations (e.g. musl). Fix this.
Fixes #16798.
Diffstat (limited to 'libraries/base/tests/enum_processor.py')
-rwxr-xr-x[-rw-r--r--] | libraries/base/tests/enum_processor.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/base/tests/enum_processor.py b/libraries/base/tests/enum_processor.py index 15243f11ff..b4ca3e9797 100644..100755 --- a/libraries/base/tests/enum_processor.py +++ b/libraries/base/tests/enum_processor.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + # The rough equivalent of the traditional CPP: # #define printTest(x) (do{ putStr ( " " ++ "x" ++ " = " ) ; print (x) }) # which is not portable to clang. |