8 echo "usage: run-tests.sh <server> <login> <workspace> [ <server-path> ]"
9 echo " optional <server-path> setting will run more tests, but"
10 echo " NOTE: these tests will result in history changes in the tfs-server"
14 function run_non_history_modifying_tests
{
15 for i
in .
/t
*-cmd.sh
; do
16 echo $i $SERVER $LOGIN $WORKSPACE
17 $i $SERVER $LOGIN $WORKSPACE
22 function run_history_modifying_tests
{
23 echo Running
history modifying tests
24 for i
in .
/ex
*-cmd.sh
; do
25 echo $i $SERVER $LOGIN $WORKSPACE $SERVER_PATH
27 $i $SERVER $LOGIN $WORKSPACE $SERVER_PATH
32 if [ "x$SERVER" = "x" ] ||
[ "x$LOGIN" = "x" ] ||
[ "x$WORKSPACE" = "x" ]; then usage
; fi
34 run_non_history_modifying_tests
36 if [ "x$SERVER_PATH" != "x" ]; then
37 run_history_modifying_tests