From c53dfb3b2cddfe2d00d9017c9240042cc6bc7fcf Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 11 Jun 2019 09:54:55 -0400 Subject: 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. --- libraries/base/tests/enum_processor.py | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 libraries/base/tests/enum_processor.py (limited to 'libraries/base/tests/enum_processor.py') diff --git a/libraries/base/tests/enum_processor.py b/libraries/base/tests/enum_processor.py old mode 100644 new mode 100755 index 15243f11ff..b4ca3e9797 --- 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. -- cgit v1.2.1