aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-11 19:07:55 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-11-11 19:07:55 -0800
commitf38203533708c446597aef27eb02060a192aacdc (patch)
treee1163d0d13ce0d923cf4967be21a6803dd6df1b4 /tests/runner.py
parente63a5571ac6f213c42202358798ebd6c82ab46b6 (diff)
fix dlfcn_qsort
Diffstat (limited to 'tests/runner.py')
-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;