aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2015-05-08 13:30:51 +0200
committerDaniel Gröber <dxld@darkboxed.org>2015-05-08 13:30:51 +0200
commit7070c19a97b90460dc8dbf4c1f5d677650af4289 (patch)
tree0eecc21cde42f422fa9148a3086f9264fa643629
parent9420fb1a22098a7e17734965a79f1c1f2c81e8cd (diff)
Fix tests
-rw-r--r--.travis.yml5
-rw-r--r--tests/Spec.hs4
2 files changed, 8 insertions, 1 deletions
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"