summaryrefslogtreecommitdiff
path: root/testsuite/tests/cabal/cabal01/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/cabal/cabal01/all.T')
-rw-r--r--testsuite/tests/cabal/cabal01/all.T16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/cabal/cabal01/all.T b/testsuite/tests/cabal/cabal01/all.T
new file mode 100644
index 0000000000..299b0b8a06
--- /dev/null
+++ b/testsuite/tests/cabal/cabal01/all.T
@@ -0,0 +1,16 @@
+setTestOpts(only_compiler_types(['ghc']))
+
+if config.have_profiling:
+ prof = '--enable-library-profiling'
+else:
+ prof = ''
+
+if default_testopts.cleanup != '':
+ cleanup = 'CLEANUP=1'
+else:
+ cleanup = ''
+
+test('cabal01',
+ normal,
+ run_command,
+ ['$MAKE -s --no-print-directory cabal01 PROF=' + prof + ' ' + cleanup])