[commit: packages/directory] master: Increase num-repeats to increase chance of catching bug (3592d2f)

git at git.haskell.org git at git.haskell.org
Fri Dec 18 09:52:42 UTC 2015


Repository : ssh://git@git.haskell.org/directory

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3592d2f9d1444d09f0aaedd54cacb722bf979a9b/directory

>---------------------------------------------------------------

commit 3592d2f9d1444d09f0aaedd54cacb722bf979a9b
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Wed Sep 2 01:43:12 2015 -0400

    Increase num-repeats to increase chance of catching bug


>---------------------------------------------------------------

3592d2f9d1444d09f0aaedd54cacb722bf979a9b
 .travis.yml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 80d66f1..8b66290 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,15 +30,17 @@ install:
  - ghc --version
 
 before_script:
- - | # check if 'streaming' is supported (didn't exist until 1.20)
+   # check if 'streaming' is supported (didn't exist until 1.20)
+ - |
      if cabal 2>&1 test --show-details=streaming __dummy |
         grep >/dev/null 2>&1 "cabal: --show-details flag expects"
      then streaming=always
      else streaming=streaming
      fi
      export streaming
- - | # check if '--run-tests' is supported (didn't exist until 1.20);
-     # tests must be run prior to install as packages may be broken by install
+   # check if '--run-tests' is supported (didn't exist until 1.20);
+   # tests must be run prior to install as packages may be broken by install
+ - |
      if cabal 2>&1 install --run-tests __dummy |
         grep >/dev/null 2>&1 "cabal: unrecognized option"
      then def_cabal_install_run_tests='cabal_install_run_tests() {
@@ -65,6 +67,8 @@ script:
  - cabal build
  - cabal check
  - cabal sdist
- - cabal test --show-details=$streaming --test-option=+RTS --test-option=-N2
+ - cabal test --show-details=$streaming
+     --test-option=CreateDirectoryIfMissing001.num-repeats=100000
+     --test-option=+RTS --test-option=-N2
  - eval "$def_cabal_install_run_tests" &&
    cabal_install_run_tests --force-reinstalls dist/*-*.tar.gz



More information about the ghc-commits mailing list