|
a/run_tests |
|
b/run_tests |
1 |
#!/bin/bash
|
1 |
#!/bin/bash
|
2 |
|
2 |
|
3 |
MODULES="\
|
3 |
if [ "$TEST_MODULES" == "" ]; then
|
|
|
4 |
TEST_MODULES="\
|
4 |
pyforge \
|
5 |
pyforge \
|
5 |
ForgeDiscussion \
|
6 |
ForgeDiscussion \
|
6 |
ForgeGit \
|
7 |
ForgeGit \
|
7 |
ForgeHg \
|
8 |
ForgeHg \
|
8 |
ForgeMail \
|
9 |
ForgeMail \
|
9 |
ForgeSVN \
|
10 |
ForgeSVN \
|
10 |
ForgeTracker \
|
11 |
ForgeTracker \
|
11 |
ForgeWiki"
|
12 |
ForgeWiki"
|
|
|
13 |
fi
|
12 |
|
14 |
|
13 |
MODULES="ForgeHg ForgeMail ForgeSVN ForgeTracker ForgeWiki"
|
|
|
14 |
|
|
|
15 |
for module in $MODULES; do
|
15 |
for module in $TEST_MODULES; do
|
16 |
(
|
16 |
(
|
17 |
echo "====================="
|
17 |
echo "====================="
|
18 |
echo "Running tests in module $module"
|
18 |
echo "Running tests in module $module"
|
19 |
cd $module
|
19 |
cd $module
|
20 |
rm -r .test-data
|
20 |
rm -r .test-data
|