aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/runner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 42442ba5..ba109316 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2021,6 +2021,9 @@ if 'benchmark' not in str(sys.argv):
post_build=add_pre_run_and_checks)
def test_dlfcn_qsort(self):
+ if Settings.USE_TYPED_ARRAYS == 2:
+ Settings.CORRECT_SIGNS = 1 # Needed for unsafe optimizations
+
lib_src = '''
int lib_cmp(const void* left, const void* right) {
const int* a = (const int*) left;