summaryrefslogtreecommitdiff
path: root/libraries/base/tests/enum_processor.py
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-06-11 09:54:55 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-13 11:52:47 -0400
commitc53dfb3b2cddfe2d00d9017c9240042cc6bc7fcf (patch)
tree130d5668b264d7ae5217976b9156373ee7651bc6 /libraries/base/tests/enum_processor.py
parentd550b771f6ebb91bfe860fc08811a7d74b39eb38 (diff)
downloadhaskell-c53dfb3b2cddfe2d00d9017c9240042cc6bc7fcf.tar.gz
testsuite: A more portable solution to #9399
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.py2
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.