Mercurial > hg > audiodb
diff tests/run-tests.sh @ 164:218106b4db14
Add a test for dump/restore functionality.
Since it takes a long time (and must be run after the other tests), put
it in 9000/ and adjust run-tests.sh to take a --full argument.
author | mas01cr |
---|---|
date | Mon, 05 Nov 2007 10:54:53 +0000 |
parents | 1fc7f47b422b |
children | 3c7c8b84e4f3 |
line wrap: on
line diff
--- a/tests/run-tests.sh Thu Nov 01 15:18:17 2007 +0000 +++ b/tests/run-tests.sh Mon Nov 05 10:54:53 2007 +0000 @@ -10,7 +10,13 @@ exit 1 fi -for file in [0-9][0-9][0-9][0-9]*; do +if [ "$1" = "--full" ]; then + pattern="[0-9][0-9][0-9][0-9]*" +else + pattern="[0-8][0-9][0-9][0-9]*" +fi + +for file in ${pattern}; do if [ -d ${file} ]; then if [ -f ${file}/run-test.sh ]; then echo -n Running test ${file}