2020-12-28 23:44:53 +03:00
|
|
|
# Functional tests for the add-on scripts in this directory.
|
2021-01-12 22:47:57 +03:00
|
|
|
# Keep synced: compile.sh, scripts.test, hledger-check-fancyassertions.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-12 22:47:57 +03:00
|
|
|
#
|
|
|
|
# Our CI workflows run with multiple GHC versions, but the tests below
|
|
|
|
# are hard coded to one version. We don't want them to cause a whole
|
|
|
|
# extra GHC version to be installed and built for.
|
|
|
|
# XXX For now, we hard code GHC 8.2 here, same as the linux/pull request CI,
|
|
|
|
# and run these tests only there.
|
|
|
|
#
|
2020-12-28 23:44:53 +03:00
|
|
|
# $ ./compile.sh >/dev/null
|
2021-01-12 22:47:57 +03:00
|
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc hledger-balance-as-budget.hs >/dev/null || true
|
|
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc hledger-check-fancyassertions.hs >/dev/null || true
|
|
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc hledger-check-tagfiles.hs >/dev/null || true
|
|
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc hledger-combine-balances.hs >/dev/null || true
|
|
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc hledger-print-location.hs >/dev/null || true
|
|
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc hledger-smooth.hs >/dev/null || true
|
|
|
|
$ stack --stack-yaml ../stack8.2.yaml ghc hledger-swap-dates.hs >/dev/null || true
|