From d14f5a5dfd05cba00cd184f63175474f546080cc Mon Sep 17 00:00:00 2001 From: Marcin Szamotulski Date: Tue, 28 Jan 2020 14:47:09 +0100 Subject: [PATCH] scripts/test.sh - run all ouroboros-network tests This is useful for running all tests on windows. Currently it does not include `ouroboros-consensus` tests, since `ouroboros-consensus` does not compile on windows. --- scripts/test.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 scripts/test.sh 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