aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-03 22:07:14 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-03 22:07:14 +0000
commitab61e6baa1913d264380af587675e8eaeaff2d06 (patch)
tree77c49eb6d6bd1e740f0fd87d82d3454fcae67cf1 /test
parentfc37dc73312185e512e30ab66aa6d4b5ba866478 (diff)
downloadpaludis-ab61e6baa1913d264380af587675e8eaeaff2d06.tar.gz
paludis-ab61e6baa1913d264380af587675e8eaeaff2d06.tar.xz
Use an explicit path for merge and unmerge. Move things around to make this easier.
Diffstat (limited to 'test')
-rwxr-xr-xtest/run_test.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/run_test.sh b/test/run_test.sh
index 4cdeedf..9b7050b 100755
--- a/test/run_test.sh
+++ b/test/run_test.sh
@@ -4,6 +4,7 @@
testname=${2:-${1}}
testname=${testname%.rb}
testname=${testname%.py}
+testname=${testname%.bash}
if test -f "$TEST_SCRIPT_DIR""${testname}"_"cleanup.sh" ; then
echo ">>> cleanup for test ${testname}"
@@ -11,6 +12,8 @@ if test -f "$TEST_SCRIPT_DIR""${testname}"_"cleanup.sh" ; then
echo ">>> exiting with error for test ${testname}"
exit 255
fi
+else
+ echo ">>> No $TEST_SCRIPT_DIR${testname}_cleanup.sh to run"
fi
if test -f "$TEST_SCRIPT_DIR""${testname}"_"setup.sh" ; then
@@ -19,6 +22,8 @@ if test -f "$TEST_SCRIPT_DIR""${testname}"_"setup.sh" ; then
echo ">>> exiting with error for test ${testname}"
exit 255
fi
+else
+ echo ">>> No $TEST_SCRIPT_DIR${testname}_setup.sh to run"
fi
echo ">>> test ${testname}"
@@ -40,6 +45,8 @@ if test -f "$TEST_SCRIPT_DIR""${testname}"_"cleanup.sh" ; then
echo ">>> exiting with error for test ${testname}"
exit 255
fi
+else
+ echo ">>> No $TEST_SCRIPT_DIR${testname}_cleanup.sh to run"
fi
echo ">>> exiting with success for test ${testname}"