2020-12-28 23:44:53 +03:00
|
|
|
# Functional tests for the add-on scripts in this directory.
|
2021-01-13 02:00:13 +03:00
|
|
|
# Keep synced: compile.sh, scripts*.test, hledger-*.hs..
|
2020-12-28 23:44:53 +03:00
|
|
|
|
2021-01-12 22:47:57 +03:00
|
|
|
# Check that these ones still compile with this version of hledger.
|
2020-12-28 23:44:53 +03:00
|
|
|
# stdout and exit code are ignored for cleaner failure output.
|
2021-01-13 02:00:13 +03:00
|
|
|
# XXX But installing deps can also generate stderr, causing these to fail.
|
|
|
|
# XXX These tests are hard coded to one GHC version.
|
|
|
|
# See also _scriptsX.Y.test, used by CI workflows with other GHC versions
|
|
|
|
# to avoid installing and building for multiple GHCs.
|
|
|
|
# XXX it's actually too hard to make this reliable for CI right now.
|
|
|
|
# Maybe still useful for running locally with "make functest".
|
2021-01-29 23:09:58 +03:00
|
|
|
$ stack ghc hledger-balance-as-budget.hs >/dev/null 2>&1 || true
|
|
|
|
$ stack ghc hledger-check-fancyassertions.hs >/dev/null 2>&1 || true
|
|
|
|
$ stack ghc hledger-check-tagfiles.hs >/dev/null 2>&1 || true
|
|
|
|
$ stack ghc hledger-combine-balances.hs >/dev/null 2>&1 || 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 2>&1 || true
|
|
|
|
$ stack ghc --package string-qq hledger-swap-dates.hs >/dev/null 2>&1 || true
|