- Revision
- 11378
- Author
- bear
- Date
- 2006-08-10 12:13:21 -0700 (Thu, 10 Aug 2006)
Log Message
as heikki explained on IRC, we need to make sure that all runs of Chandler while testing are passed --stderr
Modified Paths
Diff
Modified: trunk/chandler/tools/do_tests.sh (11377 => 11378)
--- trunk/chandler/tools/do_tests.sh 2006-08-10 18:56:46 UTC (rev 11377) +++ trunk/chandler/tools/do_tests.sh 2006-08-10 19:13:21 UTC (rev 11378) @@ -379,7 +379,7 @@ echo -n $TESTNAME cd $C_DIR - $CHANDLERBIN/release/$RUN_CHANDLER --create --nocatch --profileDir="$PC_DIR" --catsPerfLog="$TIME_LOG" --scriptTimeout=600 --scriptFile="$TESTNAME" &> $C_DIR/test.log + $CHANDLERBIN/release/$RUN_CHANDLER --create --stderr --nocatch --profileDir="$PC_DIR" --catsPerfLog="$TIME_LOG" --scriptTimeout=600 --scriptFile="$TESTNAME" &> $C_DIR/test.log # scan the test output for the success message "OK" RESULT=`grep '#TINDERBOX# Status = PASSED' $C_DIR/test.log` @@ -410,7 +410,7 @@ fi cd $C_DIR - $CHANDLERBIN/release/$RUN_CHANDLER --create --nocatch --profileDir="$PC_DIR" --catsPerfLog="$TIME_LOG" --scriptTimeout=600 --scriptFile="$BACKUP_REPO" &> $C_DIR/test.log + $CHANDLERBIN/release/$RUN_CHANDLER --create --stderr --nocatch --profileDir="$PC_DIR" --catsPerfLog="$TIME_LOG" --scriptTimeout=600 --scriptFile="$BACKUP_REPO" &> $C_DIR/test.log # scan the test output for the success message "OK" RESULT=`grep '#TINDERBOX# Status = PASSED' $C_DIR/test.log` @@ -440,7 +440,7 @@ echo -n $TESTNAME cd $C_DIR - $CHANDLERBIN/release/$RUN_CHANDLER --restore="$REPO" --nocatch --profileDir="$PC_DIR" --catsPerfLog="$TIME_LOG" --scriptTimeout=600 --scriptFile="$TESTNAME" &> $C_DIR/test.log + $CHANDLERBIN/release/$RUN_CHANDLER --restore="$REPO" --stderr --nocatch --profileDir="$PC_DIR" --catsPerfLog="$TIME_LOG" --scriptTimeout=600 --scriptFile="$TESTNAME" &> $C_DIR/test.log # scan the test output for the success message "OK" RESULT=`grep '#TINDERBOX# Status = PASSED' $C_DIR/test.log` @@ -491,11 +491,11 @@ RUNS="1 2 3" echo Creating new empty repository - $CHANDLERBIN/release/$RUN_CHANDLER --create --nocatch --profileDir="$PC_DIR" --scriptTimeout=600 --scriptFile="$CREATEREPO" &> $C_DIR/test.log + $CHANDLERBIN/release/$RUN_CHANDLER --create --stderr --nocatch --profileDir="$PC_DIR" --scriptTimeout=600 --scriptFile="$CREATEREPO" &> $C_DIR/test.log echo -n Timing startup for run in $RUNS ; do - $TIME -o $T_DIR/start1.$run.log $CHANDLERBIN/release/$RUN_CHANDLER --nocatch --profileDir="$PC_DIR" --scriptTimeout=600 --scriptFile="$TESTNAME" &> $C_DIR/test.log + $TIME -o $T_DIR/start1.$run.log $CHANDLERBIN/release/$RUN_CHANDLER --stderr --nocatch --profileDir="$PC_DIR" --scriptTimeout=600 --scriptFile="$TESTNAME" &> $C_DIR/test.log cat $T_DIR/start1.$run.log | sed "s/^Command exited with non-zero status [0-9]\+ //" > $C_DIR/test.log cat $C_DIR/test.log > $T_DIR/start1.$run.log echo -n \ `<"$T_DIR/start1.$run.log"` @@ -505,11 +505,11 @@ echo \ \[$STARTUP\s\] echo Creating new large repository - $CHANDLERBIN/release/$RUN_CHANDLER --restore="$REPO" --nocatch --profileDir="$PC_DIR" --scriptTimeout=600 --scriptFile="$CREATEREPO" &> $C_DIR/test.log + $CHANDLERBIN/release/$RUN_CHANDLER --restore="$REPO" --stderr --nocatch --profileDir="$PC_DIR" --scriptTimeout=600 --scriptFile="$CREATEREPO" &> $C_DIR/test.log echo -n Timing startup with large repository for run in $RUNS ; do - $TIME -o $T_DIR/start6.$run.log $CHANDLERBIN/release/$RUN_CHANDLER --nocatch --profileDir="$PC_DIR" --scriptTimeout=600 --scriptFile="$TESTNAME" &> $C_DIR/test.log + $TIME -o $T_DIR/start6.$run.log $CHANDLERBIN/release/$RUN_CHANDLER --stderr --nocatch --profileDir="$PC_DIR" --scriptTimeout=600 --scriptFile="$TESTNAME" &> $C_DIR/test.log cat $T_DIR/start6.$run.log | sed "s/^Command exited with non-zero status [0-9]\+ //" > $C_DIR/test.log cat $C_DIR/test.log > $T_DIR/start6.$run.log echo -n \ `<"$T_DIR/start6.$run.log"`
_______________________________________________ Commits mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/commits
