summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2015-06-01 21:53:32 +0200
committerJoachim Breitner <mail@joachim-breitner.de>2015-06-01 21:53:32 +0200
commit1828eb65b85e1a0bd4c606771cd097d593fb02c0 (patch)
treecf56974db73d2a9878b50771e3e673d0ac854682
parentf82e866504259c674d6fb3f66e67ae943a688b3f (diff)
downloadhaskell-wip/run-api-tests-alone.tar.gz
testsuite: Run ghc api tests alonewip/run-api-tests-alone
to reduce the risk of running out of memory.
-rw-r--r--testsuite/tests/ghc-api/T4891/all.T2
-rw-r--r--testsuite/tests/ghc-api/T7478/all.T2
-rw-r--r--testsuite/tests/ghc-api/all.T2
-rw-r--r--testsuite/tests/ghc-api/annotations-literals/all.T4
-rw-r--r--testsuite/tests/ghc-api/annotations/all.T2
-rw-r--r--testsuite/tests/ghc-api/apirecomp001/all.T2
-rw-r--r--testsuite/tests/ghc-api/dynCompileExpr/all.T2
-rw-r--r--testsuite/tests/ghc-api/landmines/all.T2
-rw-r--r--testsuite/tests/ghc-api/show-srcspan/all.T4
9 files changed, 20 insertions, 2 deletions
diff --git a/testsuite/tests/ghc-api/T4891/all.T b/testsuite/tests/ghc-api/T4891/all.T
index b9c08c37bf..2e2bcfc0a0 100644
--- a/testsuite/tests/ghc-api/T4891/all.T
+++ b/testsuite/tests/ghc-api/T4891/all.T
@@ -1,3 +1,5 @@
+setTestOpts(alone)
+
test('T4891', extra_clean(['X.hi', 'X.o']),
run_command,
['$MAKE -s --no-print-directory T4891'])
diff --git a/testsuite/tests/ghc-api/T7478/all.T b/testsuite/tests/ghc-api/T7478/all.T
index b3a69a8587..129136a82f 100644
--- a/testsuite/tests/ghc-api/T7478/all.T
+++ b/testsuite/tests/ghc-api/T7478/all.T
@@ -1,3 +1,5 @@
+setTestOpts(alone)
+
test('T7478',
[ unless(have_dynamic(),skip)
, extra_clean(['A','A.exe','B.o','B.hi','C.o','C.hi'])
diff --git a/testsuite/tests/ghc-api/all.T b/testsuite/tests/ghc-api/all.T
index 11e8c422b6..6143364dbc 100644
--- a/testsuite/tests/ghc-api/all.T
+++ b/testsuite/tests/ghc-api/all.T
@@ -1,3 +1,5 @@
+setTestOpts(alone)
+
test('ghcApi', normal, compile_and_run, ['-package ghc'])
test('T6145', normal,
run_command,
diff --git a/testsuite/tests/ghc-api/annotations-literals/all.T b/testsuite/tests/ghc-api/annotations-literals/all.T
index 999c5a4ed0..33892f4c00 100644
--- a/testsuite/tests/ghc-api/annotations-literals/all.T
+++ b/testsuite/tests/ghc-api/annotations-literals/all.T
@@ -1,2 +1,4 @@
+setTestOpts(alone)
+
test('literals', normal, run_command, ['$MAKE -s --no-print-directory literals'])
-test('parsed', normal, run_command, ['$MAKE -s --no-print-directory parsed']) \ No newline at end of file
+test('parsed', normal, run_command, ['$MAKE -s --no-print-directory parsed'])
diff --git a/testsuite/tests/ghc-api/annotations/all.T b/testsuite/tests/ghc-api/annotations/all.T
index f6cb955745..cb500dcb83 100644
--- a/testsuite/tests/ghc-api/annotations/all.T
+++ b/testsuite/tests/ghc-api/annotations/all.T
@@ -1,3 +1,5 @@
+setTestOpts(alone)
+
test('annotations', normal, run_command, ['$MAKE -s --no-print-directory annotations'])
test('parseTree', normal, run_command, ['$MAKE -s --no-print-directory parseTree'])
test('comments', normal, run_command, ['$MAKE -s --no-print-directory comments'])
diff --git a/testsuite/tests/ghc-api/apirecomp001/all.T b/testsuite/tests/ghc-api/apirecomp001/all.T
index f58352af99..7b3826c735 100644
--- a/testsuite/tests/ghc-api/apirecomp001/all.T
+++ b/testsuite/tests/ghc-api/apirecomp001/all.T
@@ -1,3 +1,5 @@
+setTestOpts(alone)
+
test('apirecomp001',
normal,
run_command,
diff --git a/testsuite/tests/ghc-api/dynCompileExpr/all.T b/testsuite/tests/ghc-api/dynCompileExpr/all.T
index c6034eab6b..73bcb5a663 100644
--- a/testsuite/tests/ghc-api/dynCompileExpr/all.T
+++ b/testsuite/tests/ghc-api/dynCompileExpr/all.T
@@ -1,3 +1,5 @@
+setTestOpts(alone)
+
test('dynCompileExpr',
[ extra_run_opts('"' + config.libdir + '"'),
when(opsys('mingw32'), expect_broken_for(5987, ['dyn'])),
diff --git a/testsuite/tests/ghc-api/landmines/all.T b/testsuite/tests/ghc-api/landmines/all.T
index b03a97f0ae..23105e24d3 100644
--- a/testsuite/tests/ghc-api/landmines/all.T
+++ b/testsuite/tests/ghc-api/landmines/all.T
@@ -1,2 +1,4 @@
+setTestOpts(alone)
+
test('landmines', normal, run_command, ['$MAKE -s --no-print-directory landmines'])
diff --git a/testsuite/tests/ghc-api/show-srcspan/all.T b/testsuite/tests/ghc-api/show-srcspan/all.T
index fbb8d04cde..85aeb931ec 100644
--- a/testsuite/tests/ghc-api/show-srcspan/all.T
+++ b/testsuite/tests/ghc-api/show-srcspan/all.T
@@ -1 +1,3 @@
-test('showsrcspan', normal, run_command, ['$MAKE -s --no-print-directory showsrcspan']) \ No newline at end of file
+setTestOpts(alone)
+
+test('showsrcspan', normal, run_command, ['$MAKE -s --no-print-directory showsrcspan'])