1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh # Unit testing if cargo test then echo Cargo test succeeded. else ( echo Cargo test failed. && exit 1 ) fi # Functional tests cd ../tests/functional/ ./run-tests