Skip to content

Commit 2f208bb

Browse files
committed
use -fsigned-char when running selftests
1 parent d26a81e commit 2f208bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

run-test-suite.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,10 @@ def run_test(testdir):
310310
args += ['-fplugin=%s' % os.path.abspath('%s.so' % PLUGIN_NAME),
311311
'-fplugin-arg-%s-script=%s' % (PLUGIN_NAME, script_py)]
312312

313+
# Force the signedness of char so that the tests have consistent
314+
# behavior across all archs:
315+
args += ['-fsigned-char']
316+
313317
# Special-case: add the python include dir (for this runtime) if the C code
314318
# uses Python.h:
315319
def uses_python_headers():

0 commit comments

Comments
 (0)