]> granicus.if.org Git - graphviz/commitdiff
Don't validate everything in no-op mode
authorerg <devnull@localhost>
Sat, 5 Dec 2009 22:44:05 +0000 (22:44 +0000)
committererg <devnull@localhost>
Sat, 5 Dec 2009 22:44:05 +0000 (22:44 +0000)
rtest/rtest.sh

index 1e3f3b497dc124355681ea93fee511bb2df3ba1f..eebb9b439db78d9d4d2320590bc5771322d15cf2 100755 (executable)
@@ -343,6 +343,8 @@ shift $((OPTIND-1))
 
 # Check environment and initialize
 
+if [[ $NOOP != 1 ]]
+then
 if [[ ! -d "$REFDIR" ]]
 then
   print -u 2 "Test data directory $REFDIR does not exist"
@@ -371,6 +373,7 @@ then
   print -u 2 "$DIFFIMG program is not executable"
   exit 1
 fi
+fi
 
 
 exec 3< $TESTFILE