Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis ignores the splices test-suite #78

Open
ckoparkar opened this issue Sep 24, 2018 · 0 comments
Open

Travis ignores the splices test-suite #78

ckoparkar opened this issue Sep 24, 2018 · 0 comments

Comments

@ckoparkar
Copy link
Contributor

A build error in the splices test-suite went unnoticed because Travis wasn't running it. To reproduce:

$ cabal --with-ghc=ghc-7.10.3 new-test
[1 of 1] Compiling Main
tests/Splices.hs:12:3: Not in scope: type variable ‘a’
tests/Splices.hs:12:3: Not in scope: type variable ‘a’

It fails on GHC < 8 (template-haskell < 2.11)


Here's a comparison of the logs for GHC 7.10.3:

mainland/haskell-src-meta

Building test suite 'unit' for haskell-src-meta-0.8.0.2..
Running 1 test suites...
Test suite unit: RUNNING...
Deriving clauses preserved: [OK]
...  
Test suite unit: PASS

vs

ckoparkar/haskell-src-meta (which uses a Travis config that was re-generated with haskell-ci)

Building test suite 'unit' for haskell-src-meta-0.8.0.4..
[1 of 1] Compiling Main             ( tests/Main.hs, /tmp/dist-test.793d/dist-newstyle/build/x86_64-linux/ghc-7.10.3/haskell-src-meta-0.8.0.4/t/unit/build/unit/unit-tmp/Main.o )
Linking /tmp/dist-test.793d/dist-newstyle/build/x86_64-linux/ghc-7.10.3/haskell-src-meta-0.8.0.4/t/unit/build/unit/unit ...
Configuring test suite 'splices' for haskell-src-meta-0.8.0.4..
Preprocessing test suite 'splices' for haskell-src-meta-0.8.0.4..
Building test suite 'splices' for haskell-src-meta-0.8.0.4..
[1 of 1] Compiling Main             ( tests/Splices.hs, /tmp/dist-test.793d/dist-newstyle/build/x86_64-linux/ghc-7.10.3/haskell-src-meta-0.8.0.4/t/splices/build/splices/splices-tmp/Main.o )
tests/Splices.hs:12:3: Not in scope: type variable ‘a’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant