Include parser tests in the test-all.sh script.

Move test-all.sh to the top level directory, and also run the parser tests from
this script.

Use a release build of cton-util to run the parser tests. As we accumulate many
tests in the tests directory tree, this will mean they can still be run quickly.

Point Travis config to the new test script.
This commit is contained in:
Jakob Stoklund Olesen
2016-07-07 17:17:30 -07:00
parent c82b772315
commit 31520717d3
3 changed files with 40 additions and 13 deletions

View File

@@ -1,12 +0,0 @@
#!/bin/bash
# Exit immediately on errors.
set -e
# Run from the src/tools directory which includes all our crates.
cd $(dirname "$0")/tools
PKGS="-p cretonne -p cretonne-reader -p cretonne-tools"
cargo build $PKGS
cargo doc $PKGS
cargo test $PKGS