;bin: ignore stderr in func tests, check only exit code
This avoids failures when stack prints to stderr, eg when fetching hackage index.
This commit is contained in:
parent
765ab0772e
commit
a477aa95b0
@ -9,10 +9,10 @@
|
|||||||
# to avoid installing and building for multiple GHCs.
|
# to avoid installing and building for multiple GHCs.
|
||||||
# XXX it's actually too hard to make this reliable for CI right now.
|
# XXX it's actually too hard to make this reliable for CI right now.
|
||||||
# Maybe still useful for running locally with "make functest".
|
# Maybe still useful for running locally with "make functest".
|
||||||
$ stack ghc hledger-balance-as-budget.hs >/dev/null || true
|
$ stack ghc hledger-balance-as-budget.hs >/dev/null 2>&1 || true
|
||||||
$ stack ghc hledger-check-fancyassertions.hs >/dev/null || true
|
$ stack ghc hledger-check-fancyassertions.hs >/dev/null 2>&1 || true
|
||||||
$ stack ghc hledger-check-tagfiles.hs >/dev/null || true
|
$ stack ghc hledger-check-tagfiles.hs >/dev/null 2>&1 || true
|
||||||
$ stack ghc hledger-combine-balances.hs >/dev/null || true
|
$ stack ghc hledger-combine-balances.hs >/dev/null 2>&1 || true
|
||||||
$ stack ghc --package string-qq hledger-print-location.hs >/dev/null || true
|
$ stack ghc --package string-qq hledger-print-location.hs >/dev/null 2>&1 || true
|
||||||
$ stack ghc --package string-qq hledger-smooth.hs >/dev/null || true
|
$ stack ghc --package string-qq hledger-smooth.hs >/dev/null 2>&1 || true
|
||||||
$ stack ghc --package string-qq hledger-swap-dates.hs >/dev/null || true
|
$ stack ghc --package string-qq hledger-swap-dates.hs >/dev/null 2>&1 || true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user