summaryrefslogtreecommitdiff
path: root/testsuite/tests/cabal/cabal01
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-04-26 15:12:05 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-04-30 10:17:51 +0200
commitc4259ff3defcac0d8f8075fd99884eef22e5d966 (patch)
treea47fe8799c795b555d1f118c906d13f2a46b5a67 /testsuite/tests/cabal/cabal01
parentb725fe0a8d2a2ee3e6d95bb0ec345ee532381ee2 (diff)
downloadhaskell-c4259ff3defcac0d8f8075fd99884eef22e5d966.tar.gz
Testsuite: make CLEANUP=1 the default (#9758)
Also move the `cleanup` setting from `default_testopts` to `config`. The `cleanup` setting is the same for all tests, hence it belongs in `config`. Reviewed by: austin Differential Revision: https://phabricator.haskell.org/D2148
Diffstat (limited to 'testsuite/tests/cabal/cabal01')
-rw-r--r--testsuite/tests/cabal/cabal01/all.T4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/cabal/cabal01/all.T b/testsuite/tests/cabal/cabal01/all.T
index 5149805331..43485ead3d 100644
--- a/testsuite/tests/cabal/cabal01/all.T
+++ b/testsuite/tests/cabal/cabal01/all.T
@@ -13,10 +13,10 @@ if config.have_shared_libs:
else:
dyn = '--disable-shared'
-if default_testopts.cleanup != '':
+if config.cleanup:
cleanup = 'CLEANUP=1'
else:
- cleanup = ''
+ cleanup = 'CLEANUP=0'
def ignoreLdOutput(str):
return re.sub('Creating library file: dist.build.libHStest-1.0-ghc[0-9.]*.dll.a\n', '', str)