Skip to content

Commit

Permalink
scripts/test.sh - run all ouroboros-network tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
coot committed Feb 14, 2020
1 parent c59bb7a commit 810dba2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 810dba2

Please sign in to comment.