Revision: 76735
http://sourceforge.net/p/brlcad/code/76735
Author: starseeker
Date: 2020-08-13 15:17:09 +0000 (Thu, 13 Aug 2020)
Log Message:
-----------
Revert run usage
Modified Paths:
--------------
brlcad/branches/RELEASE/regress/asc/asc2dsp.sh
brlcad/branches/RELEASE/regress/bots/bots.sh
brlcad/branches/RELEASE/regress/comgeom/comgeom.sh
brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-1.sh
brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-2.sh
brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-3.sh
Modified: brlcad/branches/RELEASE/regress/asc/asc2dsp.sh
===================================================================
--- brlcad/branches/RELEASE/regress/asc/asc2dsp.sh 2020-08-13 15:10:14 UTC
(rev 76734)
+++ brlcad/branches/RELEASE/regress/asc/asc2dsp.sh 2020-08-13 15:17:09 UTC
(rev 76735)
@@ -82,12 +82,12 @@
log "... convert dsp data file in asc hex format to pix format"
ASC1="$1/regress/dsp/$BASE1.asc"
rm -f $BASE1.pix
-run $A2P < $ASC1 > $BASE1.pix 2>>$LOGFILE
+$A2P < $ASC1 > $BASE1.pix 2>>$LOGFILE
log "convert pix to bw format"
rm -f $BASE1.bw
# take the blue pixel only
-run $P2B -B1.0 $BASE1.pix > $BASE1.bw 2>>$LOGFILE
+$P2B -B1.0 $BASE1.pix > $BASE1.bw 2>>$LOGFILE
log "convert pix to dsp format"
rm -f $BASE1.dsp
Modified: brlcad/branches/RELEASE/regress/bots/bots.sh
===================================================================
--- brlcad/branches/RELEASE/regress/bots/bots.sh 2020-08-13 15:10:14 UTC
(rev 76734)
+++ brlcad/branches/RELEASE/regress/bots/bots.sh 2020-08-13 15:17:09 UTC
(rev 76735)
@@ -178,7 +178,7 @@
fi
# compare
rm -f bots.rl.diff.pix
-run $PIXDIFF bots.rh.pix bots.lh.pix > bots.rl.diff.pix 2>> bots.diff.log
+$PIXDIFF bots.rh.pix bots.lh.pix > bots.rl.diff.pix 2>> bots.diff.log
NUMBER_WRONG=`tail -n 1 bots.diff.log | tr , '\012' | awk '/many/ {print $1}'`
if [ $NUMBER_WRONG -eq 0 ] ; then
tail -n 1 bots.diff.log
@@ -197,7 +197,7 @@
fi
# compare
rm -f bots.rn.diff.pix
-run $PIXDIFF bots.rh.pix bots.no.pix > bots.rn.diff.pix 2>> bots.diff.log
+$PIXDIFF bots.rh.pix bots.no.pix > bots.rn.diff.pix 2>> bots.diff.log
NUMBER_WRONG=`tail -n 1 bots.diff.log | tr , '\012' | awk '/many/ {print $1}'`
if [ $NUMBER_WRONG -eq 0 ] ; then
tail -n 1 bots.diff.log
@@ -216,7 +216,7 @@
fi
# compare
rm -f bots.rs.diff.pix
-run $PIXDIFF bots.rh.pix bots.sync.pix > bots.rs.diff.pix 2>> bots.diff.log
+$PIXDIFF bots.rh.pix bots.sync.pix > bots.rs.diff.pix 2>> bots.diff.log
NUMBER_WRONG=`tail -n 1 bots.diff.log | tr , '\012' | awk '/many/ {print $1}'`
if [ $NUMBER_WRONG -eq 0 ] ; then
log `tail -n 1 bots.diff.log`
Modified: brlcad/branches/RELEASE/regress/comgeom/comgeom.sh
===================================================================
--- brlcad/branches/RELEASE/regress/comgeom/comgeom.sh 2020-08-13 15:10:14 UTC
(rev 76734)
+++ brlcad/branches/RELEASE/regress/comgeom/comgeom.sh 2020-08-13 15:17:09 UTC
(rev 76735)
@@ -78,7 +78,7 @@
# make our starting database
rm -f comgeom.m35.asc
log "... running gzip decompress"
-run $GZIP -d -c "$PATH_TO_THIS/../iges/m35.asc.gz" > comgeom.m35.asc
+$GZIP -d -c "$PATH_TO_THIS/../iges/m35.asc.gz" > comgeom.m35.asc
rm -f comgeom.m35.g
run $ASC2G comgeom.m35.asc comgeom.m35.g
@@ -87,7 +87,7 @@
#(following example in red.sh and mged test)
rm -f solids regions region_ids
log "... running $VDECK comgeom.m35.g"
-run $VDECK comgeom.m35.g >> $LOGFILE 2>&1 <<EOF
+$VDECK comgeom.m35.g >> $LOGFILE 2>&1 <<EOF
i all.g
d
q
@@ -102,7 +102,7 @@
# get test version
rm -f comgeom.m35-baseline.cg
log "... running gzip decompress"
-run $GZIP -d -c "$PATH_TO_THIS/m35.cg.gz" > comgeom.m35-baseline.cg
+$GZIP -d -c "$PATH_TO_THIS/m35.cg.gz" > comgeom.m35-baseline.cg
cmp comgeom.m35.cg comgeom.m35-baseline.cg
STATUS=$?
Modified: brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-1.sh
===================================================================
--- brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-1.sh 2020-08-13
15:10:14 UTC (rev 76734)
+++ brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-1.sh 2020-08-13
15:17:09 UTC (rev 76735)
@@ -29,14 +29,17 @@
# convert dsp data file in asc format to pix format
DSPASC=$1/regress/dsp/$BASE2.asc
- run $A2P < $DSPASC > $BASE2.pix
+ echo "$A2P < $DSPASC > $BASE2.pix"
+ $A2P < $DSPASC > $BASE2.pix
# convert pix to bw format
# take the blue pixel only
- run $P2B -B1.0 $BASE2.pix > $BASE2.bw
+ echo "$P2B -B1.0 $BASE2.pix > $BASE2.bw"
+ $P2B -B1.0 $BASE2.pix > $BASE2.bw
# convert pix to dsp format
- run $CV huc nu16 $BASE2.bw $BASE2.dsp
+ echo "$CV huc nu16 $BASE2.bw $BASE2.dsp"
+ $CV huc nu16 $BASE2.bw $BASE2.dsp
# build a TGM
$MGED -c > $LOG 2>&1 <<EOF
@@ -47,7 +50,7 @@
EOF
# and raytrace it
- run $RT -a45 -e45 -o $BASE2.rt.pix $TGM $BASE2.r 1>> $LOG 2>> $LOG
+ $RT -a45 -e45 -o $BASE2.rt.pix $TGM $BASE2.r 1>> $LOG 2>> $LOG
STATUS=$?
if [ $STATUS -gt 0 ] ; then
FAILED="`expr $FAILED + 1`"
Modified: brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-2.sh
===================================================================
--- brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-2.sh 2020-08-13
15:10:14 UTC (rev 76734)
+++ brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-2.sh 2020-08-13
15:17:09 UTC (rev 76735)
@@ -31,14 +31,17 @@
# convert dsp data file in asc format to pix format
DSPASC=$1/regress/dsp/$BASE2.asc
- run $A2P < $DSPASC > $BASE2.pix
+ echo "$A2P < $DSPASC > $BASE2.pix"
+ $A2P < $DSPASC > $BASE2.pix
# convert pix to bw format
# take the blue pixel only
- run $P2B -B1.0 $BASE2.pix > $BASE2.bw
+ echo "$P2B -B1.0 $BASE2.pix > $BASE2.bw"
+ $P2B -B1.0 $BASE2.pix > $BASE2.bw
# convert pix to dsp format
- run $CV huc nu16 $BASE2.bw $BASE2.dsp
+ echo "$CV huc nu16 $BASE2.bw $BASE2.dsp"
+ $CV huc nu16 $BASE2.bw $BASE2.dsp
# build a TGM
$MGED -c > $LOG 2>&1 <<EOF
@@ -49,7 +52,7 @@
EOF
# and raytrace it
- run $RT -a45 -e45 -o $BASE2.rt.pix $TGM $BASE2.r 1>> $LOG 2>> $LOG
+ $RT -a45 -e45 -o $BASE2.rt.pix $TGM $BASE2.r 1>> $LOG 2>> $LOG
STATUS=$?
if [ $STATUS -gt 0 ] ; then
FAILED="`expr $FAILED + 1`"
Modified: brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-3.sh
===================================================================
--- brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-3.sh 2020-08-13
15:10:14 UTC (rev 76734)
+++ brlcad/branches/RELEASE/regress/dsp/run-dsp-case-set-3.sh 2020-08-13
15:17:09 UTC (rev 76735)
@@ -43,14 +43,17 @@
# convert dsp data file in asc format to pix format
DSPASC=$1/regress/dsp/$BASE2.asc
- run $A2P < $DSPASC > $BASE2.pix
+ echo "$A2P < $DSPASC > $BASE2.pix"
+ $A2P < $DSPASC > $BASE2.pix
# convert pix to bw format
# take the blue pixel only
- run $P2B -B1.0 $BASE2.pix > $BASE2.bw
+ echo "$P2B -B1.0 $BASE2.pix > $BASE2.bw"
+ $P2B -B1.0 $BASE2.pix > $BASE2.bw
# convert pix to dsp format
- run $CV huc nu16 $BASE2.bw $BASE2.dsp
+ echo "$CV huc nu16 $BASE2.bw $BASE2.dsp"
+ $CV huc nu16 $BASE2.bw $BASE2.dsp
# build a TGM
$MGED -c > $LOG 2>&1 <<EOF
@@ -61,7 +64,7 @@
EOF
# and raytrace it
- run $RT -a45 -e45 -o $BASE2.rt.pix $TGM $BASE2.r 1>> $LOG 2>> $LOG
+ $RT -a45 -e45 -o $BASE2.rt.pix $TGM $BASE2.r 1>> $LOG 2>> $LOG
STATUS=$?
if [ $STATUS -gt 0 ] ; then
FAILED="`expr $FAILED + 1`"
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits