diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100755 index 00000000000..e3d78778434 --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# Run all the tests using `cabal`. This is useful for runing tests on Windows. + +# Any arguments are passed to `cabal run` command. + +cabal run ${@} test-Win32-network && \ +cabal run ${@} test-protocols && \ +cabal run ${@} test-sim && \ +cabal run ${@} test-network-mux && \ +cabal run ${@} ntp-client-test && \ +cabal run ${@} test-typed-protocols-cbor && \ +cabal run ${@} test-network +# consensus tests are disabled due to #1082 +# cabal run ${@} test-consensus && \ +# cabal run ${@} test-storage +# cddl tests are disabled - one needs the cddl tool +# cabal run ${@} cddl