|
a/run_tests |
|
b/run_tests |
1 |
#!/usr/bin/env bash
|
1 |
#!/usr/bin/env bash
|
2 |
|
2 |
|
3 |
# Executes nosetest for each forge application in sequence.
|
3 |
# Executes nosetest for each forge application in sequence.
|
4 |
# Additional parameters passed to this script (such as --failed) will be passed to nosetest.
|
4 |
# Additional parameters passed to this script (such as --failed) will be passed to nosetest.
|
|
|
5 |
|
|
|
6 |
# Remove existing .test-data directories; start each test run with clean data
|
|
|
7 |
find . -name '.test-data' -type d | xargs rm -r
|
5 |
|
8 |
|
6 |
for APP in pyforge *Forge*
|
9 |
for APP in pyforge *Forge*
|
7 |
do
|
10 |
do
|
8 |
echo Testing $APP
|
11 |
echo Testing $APP
|
9 |
pushd $APP > /dev/null
|
12 |
pushd $APP > /dev/null
|