|
From: <ai...@us...> - 2008-10-17 23:17:45
|
Revision: 8918
http://plplot.svn.sourceforge.net/plplot/?rev=8918&view=rev
Author: airwin
Date: 2008-10-17 23:17:40 +0000 (Fri, 17 Oct 2008)
Log Message:
-----------
Use %n construct to insert page number into body of file name if familying
makes it necessary.
Modified Paths:
--------------
trunk/plplot_test/test_ada.sh.in
trunk/plplot_test/test_c.sh.in
trunk/plplot_test/test_cxx.sh.in
trunk/plplot_test/test_f77.sh.in
trunk/plplot_test/test_f95.sh.in
trunk/plplot_test/test_java.sh.in
trunk/plplot_test/test_ocaml.sh.in
trunk/plplot_test/test_octave.sh.in
trunk/plplot_test/test_perl.sh.in
trunk/plplot_test/test_python.sh.in
trunk/plplot_test/test_tcl.sh.in
Modified: trunk/plplot_test/test_ada.sh.in
===================================================================
--- trunk/plplot_test/test_ada.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_ada.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -39,7 +39,7 @@
if [ "$verbose_test" ]; then
echo "x${index}a"
fi
- $adadir/x${index}a -dev $device -o ${OUTPUT_DIR}/x${index}a.$dsuffix $options 2> test.error
+ $adadir/x${index}a -dev $device -o ${OUTPUT_DIR}/x${index}a%n.$dsuffix $options 2> test.error
status_code=$?
cat test.error
if [ "$status_code" -ne 0 ]; then
Modified: trunk/plplot_test/test_c.sh.in
===================================================================
--- trunk/plplot_test/test_c.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_c.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -34,7 +34,7 @@
if [ "$verbose_test" ]; then
echo "x${index}c"
fi
- $cdir/x${index}c -dev $device -o ${OUTPUT_DIR}/x${index}c.$dsuffix \
+ $cdir/x${index}c -dev $device -o ${OUTPUT_DIR}/x${index}c%n.$dsuffix \
$options 2> test.error
# Look for any status codes (segfaults, plexit) from the examples themselves.
status_code=$?
Modified: trunk/plplot_test/test_cxx.sh.in
===================================================================
--- trunk/plplot_test/test_cxx.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_cxx.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -29,7 +29,7 @@
# x01cc is a C++ alternative that has no corresponding examples for the
# other front ends.
-$cxxdir/x01cc -dev $device -o ${OUTPUT_DIR}/x01cc.$dsuffix $options
+$cxxdir/x01cc -dev $device -o ${OUTPUT_DIR}/x01cc%n.$dsuffix $options
# Do the standard non-interactive examples.
# skip 14 because it requires two output files.
@@ -38,7 +38,7 @@
if [ "$verbose_test" ]; then
echo "x${index}"
fi
- $cxxdir/x${index} -dev $device -o ${OUTPUT_DIR}/x${index}cxx.$dsuffix $options 2> test.error
+ $cxxdir/x${index} -dev $device -o ${OUTPUT_DIR}/x${index}cxx%n.$dsuffix $options 2> test.error
status_code=$?
cat test.error
if [ "$status_code" -ne 0 ]; then
Modified: trunk/plplot_test/test_f77.sh.in
===================================================================
--- trunk/plplot_test/test_f77.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_f77.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -37,7 +37,7 @@
if [ "$verbose_test" ]; then
echo "x16af"
fi
- $f77dir/x16af -dev $device -o ${OUTPUT_DIR}/x16af.$dsuffix $options 2> test.error
+ $f77dir/x16af -dev $device -o ${OUTPUT_DIR}/x16af%n.$dsuffix $options 2> test.error
status_code=$?
cat test.error
if [ "$status_code" -ne 0 ]; then
@@ -56,7 +56,7 @@
if [ "$verbose_test" ]; then
echo "x${index}f"
fi
- $f77dir/x${index}f -dev $device -o ${OUTPUT_DIR}/x${index}f.$dsuffix $options 2> test.error
+ $f77dir/x${index}f -dev $device -o ${OUTPUT_DIR}/x${index}f%n.$dsuffix $options 2> test.error
status_code=$?
cat test.error
if [ "$status_code" -ne 0 ]; then
@@ -81,7 +81,7 @@
fi
$f77dir/x16af <<EOF 2> test.error
$device
-${OUTPUT_DIR}/x16af.$dsuffix
+${OUTPUT_DIR}/x16af%n.$dsuffix
EOF
status_code=$?
cat test.error
@@ -103,7 +103,7 @@
fi
$f77dir/x${index}f <<EOF 2> test.error
$device
-${OUTPUT_DIR}/x${index}f.$dsuffix
+${OUTPUT_DIR}/x${index}f%n.$dsuffix
EOF
status_code=$?
cat test.error
Modified: trunk/plplot_test/test_f95.sh.in
===================================================================
--- trunk/plplot_test/test_f95.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_f95.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -37,7 +37,7 @@
if [ "$verbose_test" ]; then
echo "x16af"
fi
- $f95dir/x16af -dev $device -o ${OUTPUT_DIR}/x16af95.$dsuffix $options 2> test.error
+ $f95dir/x16af -dev $device -o ${OUTPUT_DIR}/x16af95%n.$dsuffix $options 2> test.error
status_code=$?
cat test.error
if [ "$status_code" -ne 0 ]; then
@@ -57,7 +57,7 @@
if [ "$verbose_test" ]; then
echo "x${index}f"
fi
- $f95dir/x${index}f -dev $device -o ${OUTPUT_DIR}/x${index}f95.$dsuffix $options 2> test.error
+ $f95dir/x${index}f -dev $device -o ${OUTPUT_DIR}/x${index}f95%n.$dsuffix $options 2> test.error
status_code=$?
cat test.error
if [ "$status_code" -ne 0 ]; then
@@ -81,7 +81,7 @@
fi
$f95dir/x16af <<EOF 2> test.error
$device
-${OUTPUT_DIR}/x16af95.$dsuffix
+${OUTPUT_DIR}/x16af95%n.$dsuffix
EOF
status_code=$?
cat test.error
@@ -104,7 +104,7 @@
fi
$f95dir/x${index}f <<EOF 2> test.error
$device
-${OUTPUT_DIR}/x${index}f95.$dsuffix
+${OUTPUT_DIR}/x${index}f95%n.$dsuffix
EOF
status_code=$?
cat test.error
Modified: trunk/plplot_test/test_java.sh.in
===================================================================
--- trunk/plplot_test/test_java.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_java.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -48,9 +48,9 @@
echo "x${index}j"
fi
if test "@WIN32@" = "1"; then
- java -classpath ${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}j.$dsuffix $options 2> test.error
+ java -classpath ${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}j%n.$dsuffix $options 2> test.error
else
- java -classpath ${javadir}:${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}j.$dsuffix $options 2> test.error
+ java -classpath ${javadir}:${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}j%n.$dsuffix $options 2> test.error
fi
status_code=$?
cat test.error
Modified: trunk/plplot_test/test_ocaml.sh.in
===================================================================
--- trunk/plplot_test/test_ocaml.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_ocaml.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -27,7 +27,7 @@
if [ "$verbose_test" ]; then
echo "x${index}ocaml"
fi
- $ocamldir/x${index}ocaml -dev $device -o ${OUTPUT_DIR}/x${index}ocaml.$dsuffix \
+ $ocamldir/x${index}ocaml -dev $device -o ${OUTPUT_DIR}/x${index}ocaml%n.$dsuffix \
$options 2> test.error
# Look for any status codes (segfaults, plexit) from the examples themselves.
status_code=$?
Modified: trunk/plplot_test/test_octave.sh.in
===================================================================
--- trunk/plplot_test/test_octave.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_octave.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -63,7 +63,7 @@
if (verbose_test)
printf("p%d\n",i);
endif
- figure(i,"$device",sprintf("${OUTPUT_DIR}/p%d.$dsuffix",i));
+ figure(i,"$device",sprintf("${OUTPUT_DIR}/p%d%%n.$dsuffix",i));
feval(sprintf("p%d",i))
closefig
endfor
@@ -88,7 +88,7 @@
plSetOpt("dev", device);
#o trailer on filename e.g., x01o.ps) to distinguish from other
#common examples.
- file = sprintf("${OUTPUT_DIR}/x%.2do.$dsuffix",i);
+ file = sprintf("${OUTPUT_DIR}/x%.2do%%n.$dsuffix",i);
plSetOpt("o", file);
eval(cmd, "failed = [failed, i];");
endfor
Modified: trunk/plplot_test/test_perl.sh.in
===================================================================
--- trunk/plplot_test/test_perl.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_perl.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -41,7 +41,7 @@
if [ "$verbose_test" ]; then
echo "x${index}.pl"
fi
- $perldir/x${index}.pl -dev $device -o ${OUTPUT_DIR}/x${index}pdl.$dsuffix $options 2> test.error
+ $perldir/x${index}.pl -dev $device -o ${OUTPUT_DIR}/x${index}pdl%n.$dsuffix $options 2> test.error
status_code=$?
cat test.error
if [ "$status_code" -ne 0 ]; then
Modified: trunk/plplot_test/test_python.sh.in
===================================================================
--- trunk/plplot_test/test_python.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_python.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -36,7 +36,7 @@
if [ "$verbose_test" ]; then
echo "x${index}"
fi
- @PYTHON_EXECUTABLE@ $pythondir/x$index -dev $device -o ${OUTPUT_DIR}/x${index}p.$dsuffix $options 2> test.error
+ @PYTHON_EXECUTABLE@ $pythondir/x$index -dev $device -o ${OUTPUT_DIR}/x${index}p%n.$dsuffix $options 2> test.error
status_code=$?
cat test.error
if [ "$status_code" -ne 0 ]; then
Modified: trunk/plplot_test/test_tcl.sh.in
===================================================================
--- trunk/plplot_test/test_tcl.sh.in 2008-10-17 22:44:26 UTC (rev 8917)
+++ trunk/plplot_test/test_tcl.sh.in 2008-10-17 23:17:40 UTC (rev 8918)
@@ -31,7 +31,7 @@
if [ "$verbose_test" ]; then
echo "pltcl demo of plot"
fi
-pltcl -dev $device -o $results/plot.$dsuffix $options <<EOF 2> test.error
+pltcl -dev $device -o $results/plot%n.$dsuffix $options <<EOF 2> test.error
plinit
source plot.tcl
plot stats.log {1 4}
@@ -54,7 +54,7 @@
if [ "$verbose_test" ]; then
echo "pltcl demo of plgrid"
fi
-pltcl -dev $device -o $results/plgrid.$dsuffix $options <<EOF 2> test.error
+pltcl -dev $device -o $results/plgrid%n.$dsuffix $options <<EOF 2> test.error
plinit
source plgrid.tcl
plgrid
@@ -79,7 +79,7 @@
if [ "$verbose_test" ]; then
echo "x${index}"
fi
- ./x${index} -dev $device -o $results/x${index}t.$dsuffix $options 2> test.error
+ ./x${index} -dev $device -o $results/x${index}t%n.$dsuffix $options 2> test.error
status_code=$?
cat test.error
if [ "$status_code" -ne 0 ]; then
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|