Commit 1128e639 authored by Salko Jr, Robert's avatar Salko Jr, Robert
Browse files

Fix error in test harness

The addition of the rebaseline was interferring with the exit
code being checked for pass/fail.  Moved the rebaseline step to
a different line and verified it works now.
parent 49aeafba
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -32,10 +32,6 @@ runInputTest(){
      cp deck.inp "$2.inp.gold"
   fi
   python $BASEDIR/deckCompare.py deck.inp "$2.inp.gold"
   if [ "$4" = true ]; then
      echo "Rebaselining the test case based on user input!!!!"
      cp deck.inp "$2.inp.gold"
   fi
   if [ "$?" != "0" ]; then
      echo "...TEST FAILED"
      exit 1
+0 −4
Original line number Diff line number Diff line
@@ -32,10 +32,6 @@ runScriptTest(){
      cp deck.inp deck.inp.gold
   fi
   python $BASEDIR/deckCompare.py deck.inp deck.inp.gold
   if [ "$3" = true ]; then
      echo "Rebaselining the test case based on user input!!!!"
      cp deck.inp deck.inp.gold
   fi
   if [ "$?" != "0" ]; then
      echo "...TEST FAILED"
      exit 1