Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgraf812 committed Jul 22, 2024
1 parent 51b9341 commit 9c7d457
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion happy.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,10 @@ executable happy
test-suite tests
type: exitcode-stdio-1.0
main-is: test.hs
-- This line is important as it ensures that the local `exe:happy` component declared above is built before the test-suite component is invoked, as well as making sure that `happy` is made available on $PATH and `$happy_datadir` is set accordingly before invoking `test.hs`
-- This line is important as it ensures that the local `exe:happy` component
-- declared above is built before the test-suite component is invoked, as well
-- as making sure that `happy` is made available on $PATH and `$happy_datadir`
-- is set accordingly before invoking `test.hs`
build-tool-depends: happy:happy
ghc-options: -threaded

Expand Down
2 changes: 1 addition & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ HC_OPTS=-package array -Wall -Werror
# without danger of it being "fixed" by the logic below.
# [2021-07-14, PR #196](https://github.com/haskell/happy/pull/196)
#
HAPPY ?= $(CABAL) -v0 --with-compiler=$(HC) exec happy --
HAPPY ?= happy # $(CABAL) -v0 --with-compiler=$(HC) exec happy --

.PRECIOUS: %.n.hs %.c.hs %.o %.exe %.bin

Expand Down

0 comments on commit 9c7d457

Please sign in to comment.