File: run_tests.sh

package info (click to toggle)
sambamba 1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,528 kB
  • sloc: sh: 220; python: 166; ruby: 147; makefile: 103
file content (9 lines) | stat: -rwxr-xr-x 292 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# download shunit2 in order to run tests:
# curl -L "https://dl.dropboxusercontent.com/u/7916095/shunit2-2.0.3.tgz" | tar zx --overwrite

echo "Running tests for $1..."
./test/test_suite.sh $1 2>&1 | tr '\r' '\n' > test.log
cat test.log
cat test.log | grep -q 'success rate: 100%'