From 7070c19a97b90460dc8dbf4c1f5d677650af4289 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Fri, 8 May 2015 13:30:51 +0200 Subject: Fix tests --- .travis.yml | 5 ++++- tests/Spec.hs | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 tests/Spec.hs diff --git a/.travis.yml b/.travis.yml index 5d2f059..c11ca62 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,4 +25,7 @@ script: - cabal configure --enable-tests $WERROR - cabal build - ./dist/build/cabal-helper-wrapper/cabal-helper-wrapper dist "compiler-version" "entrypoints" "source-dirs" "ghc-options" "ghc-src-options" "ghc-pkg-options" "ghc-lang-options" -# - cabal test + - cabal test + - cabal install --enable-tests -j1 . + - cat "dist/test/cabal-helper-"* + - ls -l dist/test/ diff --git a/tests/Spec.hs b/tests/Spec.hs new file mode 100644 index 0000000..505b276 --- /dev/null +++ b/tests/Spec.hs @@ -0,0 +1,4 @@ +import Distribution.Helper + +main = do + writeAutogenFiles "./dist" -- cgit v1.2.3