aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"