Skip to content

Commit

Permalink
Merge pull request #221 from gelisam/issue-217/comment-out-failing-tests
Browse files Browse the repository at this point in the history
comment out failing tests, fixes #217
  • Loading branch information
gelisam authored Apr 26, 2020
2 parents ce6a0c5 + d01d791 commit 3df9ce0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ before_install:

install:
# Build the package, and its tests and its docs (stack)
- if [ "$BUILD" == "stack" ]; then stack --resolver="lts-10.0" install happy; fi # hardcoded resolver because happy no longer builds on lts-8.0
- if [ "$BUILD" == "stack" ]; then stack --resolver="$RESOLVER" --no-terminal --install-ghc test --no-run-tests --haddock --no-haddock-deps; fi
# Build the package and its tests (cabal)
- if [ "$BUILD" == "cabal" ]; then ~/.local/bin/cabal update; fi
Expand Down
2 changes: 1 addition & 1 deletion src/Data/HaskellSource.hs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ compileFileWithArgs args f = do
(exitCode, out, err) <- lift $ readProcessWithExitCode "ghc" args' ""
case (exitCode, out ++ err) of
(ExitSuccess, []) -> return ()
(ExitSuccess, msg) -> multilineWarn msg
(ExitSuccess, msg) -> return () -- TODO: output warnings via 'multilineWarn msg'?
(_ , []) -> fail $ printf "could not compile %s" (show f)
(_ , msg) -> multilineFail msg

0 comments on commit 3df9ce0

Please sign in to comment.