summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-06-14 16:12:25 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-26 19:53:36 -0400
commit8ac49411df6140eb7e64c84c8d4f32eb76bfc4ce (patch)
treefd7d7351ac0585cff039d76256e50f9eea1866fc
parent609c7ee6d09d9336e43d139994daf817d94450b7 (diff)
downloadhaskell-8ac49411df6140eb7e64c84c8d4f32eb76bfc4ce.tar.gz
testsuite: Skip regalloc_unit_tests unless have_ncg
This is a unit test for the native code generator's register allocator; naturally. the NCG is required.
-rw-r--r--testsuite/tests/regalloc/all.T1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/regalloc/all.T b/testsuite/tests/regalloc/all.T
index 99eeb1c7ce..022c04025c 100644
--- a/testsuite/tests/regalloc/all.T
+++ b/testsuite/tests/regalloc/all.T
@@ -1,5 +1,6 @@
test('regalloc_unit_tests',
[ when(unregisterised(), skip), extra_files(['no_spills.cmm']),
+ when(not have_ncg(), skip),
[ignore_stderr, only_ways(['normal'])], extra_run_opts('"' + config.libdir + '"') ],
compile_and_run,
['-package ghc'])