[commit: ghc] wip/run-api-tests-alone: testsuite: Run ghc api tests alone (1828eb6)
git at git.haskell.org
git at git.haskell.org
Mon Jun 1 19:53:57 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/run-api-tests-alone
Link : http://ghc.haskell.org/trac/ghc/changeset/1828eb65b85e1a0bd4c606771cd097d593fb02c0/ghc
>---------------------------------------------------------------
commit 1828eb65b85e1a0bd4c606771cd097d593fb02c0
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Mon Jun 1 21:53:32 2015 +0200
testsuite: Run ghc api tests alone
to reduce the risk of running out of memory.
>---------------------------------------------------------------
1828eb65b85e1a0bd4c606771cd097d593fb02c0
testsuite/tests/ghc-api/T4891/all.T | 2 ++
testsuite/tests/ghc-api/T7478/all.T | 2 ++
testsuite/tests/ghc-api/all.T | 2 ++
testsuite/tests/ghc-api/annotations-literals/all.T | 2 ++
testsuite/tests/ghc-api/annotations/all.T | 2 ++
testsuite/tests/ghc-api/apirecomp001/all.T | 2 ++
testsuite/tests/ghc-api/dynCompileExpr/all.T | 2 ++
testsuite/tests/ghc-api/landmines/all.T | 2 ++
testsuite/tests/ghc-api/show-srcspan/all.T | 2 ++
9 files changed, 18 insertions(+)
diff --git a/testsuite/tests/ghc-api/T4891/all.T b/testsuite/tests/ghc-api/T4891/all.T
index b9c08c3..2e2bcfc 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 b3a69a8..129136a 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 11e8c42..6143364 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 999c5a4..33892f4 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'])
diff --git a/testsuite/tests/ghc-api/annotations/all.T b/testsuite/tests/ghc-api/annotations/all.T
index f6cb955..cb500dc 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 f58352a..7b3826c 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 c6034ea..73bcb5a 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 b03a97f..23105e2 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 fbb8d04..85aeb93 100644
--- a/testsuite/tests/ghc-api/show-srcspan/all.T
+++ b/testsuite/tests/ghc-api/show-srcspan/all.T
@@ -1 +1,3 @@
+setTestOpts(alone)
+
test('showsrcspan', normal, run_command, ['$MAKE -s --no-print-directory showsrcspan'])
More information about the ghc-commits
mailing list