From 003ab6a1288ed504447985a1329409adf4eaa367 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Tue, 11 Dec 2018 17:34:10 -0500 Subject: testsuite: Ensure that unregisterised function is called Strangely the previous formulation works locally and under CircleCI but fails on another machine. Odd. --- testsuite/tests/concurrent/T13615/all.T | 2 +- testsuite/tests/concurrent/should_run/all.T | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/tests/concurrent') diff --git a/testsuite/tests/concurrent/T13615/all.T b/testsuite/tests/concurrent/T13615/all.T index 2ec87575ca..419fe9b77e 100644 --- a/testsuite/tests/concurrent/T13615/all.T +++ b/testsuite/tests/concurrent/T13615/all.T @@ -1,6 +1,6 @@ test('T13615', [when(fast(), skip), - when(unregisterised, skip), + when(unregisterised(), skip), req_smp, # needs -N support only_ways(threaded_ways), extra_files(['Parallel.hs', 'Memo.hs']), diff --git a/testsuite/tests/concurrent/should_run/all.T b/testsuite/tests/concurrent/should_run/all.T index 19b69ccf94..99f9b6eddc 100644 --- a/testsuite/tests/concurrent/should_run/all.T +++ b/testsuite/tests/concurrent/should_run/all.T @@ -36,7 +36,7 @@ test('T3279', normal, compile_and_run, ['']) # This test takes a long time with the default context switch interval test('T3429', [ extra_run_opts('+RTS -C0.001 -RTS'), - unless(unregisterised, extra_ways(['debug_numa'])) ], + unless(unregisterised(), extra_ways(['debug_numa'])) ], compile_and_run, ['']) # without -O, goes into an infinite loop -- cgit v1.2.1