1
0
Fork 0

Add testv recipe for more verbose logging

This commit is contained in:
Bram Schoenmakers 2024-04-10 07:20:20 +02:00
parent 2c2e88eb04
commit 21a7a2e175
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -12,5 +12,8 @@ compile:
cask emacs -batch -L . -L test --eval "(setq byte-compile-error-on-warn t)" -f batch-byte-compile $(cask files); (ret=$? ; cask clean-elc && exit $ret)
# Run unit tests matching a pattern (matches all tests by default)
test pattern=".": compile
cask exec buttercup -L . --pattern {{pattern}} --no-skip
test pattern="." flags="": compile
cask exec buttercup -L . --pattern {{pattern}} --no-skip {{flags}}
# Run unit tests matching a pattern with verbose debug info on failure
testv pattern=".": (test pattern "--traceback full")