Skip to content

Commit

Permalink
Add a make target for running unit tests with Haskell stack traces.
Browse files Browse the repository at this point in the history
  • Loading branch information
axch committed Dec 14, 2022
1 parent 31a9a87 commit eb59d2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ test-script.cd
.stack-work-dbg
.stack-work-prof
.stack-work-test
.stack-work-test-dbg
.stack-work-ffis
garbage.hs
*.lock
Expand Down
3 changes: 3 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ unit-tests:
watch-unit-tests:
$(STACK) test --work-dir .stack-work-test $(STACK_FLAGS) --file-watch

unit-tests-dbg:
$(STACK) test --work-dir .stack-work-test-dbg --trace $(STACK_FLAGS)

opt-tests: just-build
misc/file-check tests/opt-tests.dx $(dex) -O script

Expand Down

0 comments on commit eb59d2d

Please sign in to comment.