From: <ai...@us...> - 2010-02-27 17:48:38
|
Revision: 10823 http://plplot.svn.sourceforge.net/plplot/?rev=10823&view=rev Author: airwin Date: 2010-02-27 17:48:32 +0000 (Sat, 27 Feb 2010) Log Message: ----------- Vastly speed up the make_testinteractive target by using the -np (no pause) option on all interactive tests done using the standard examples. Also, reinstate example 17 for all but the xcairo device (which still renders that interactive result much too slowly). Modified Paths: -------------- trunk/plplot_test/test_c_interactive.sh.in Modified: trunk/plplot_test/test_c_interactive.sh.in =================================================================== --- trunk/plplot_test/test_c_interactive.sh.in 2010-02-27 06:50:35 UTC (rev 10822) +++ trunk/plplot_test/test_c_interactive.sh.in 2010-02-27 17:48:32 UTC (rev 10823) @@ -26,14 +26,19 @@ # Use a subset of C examples that tests interactive devices. lang="c" export index lang -# Temporarily drop example 17 because of big xcairo problems in the -# interactive driver case. -#for index in 01 04 08 14 16 17 24 30; do -for index in 01 04 08 14 16 24 30; do + +if [ "$device" = "xcairo" ] ; then + # Temporarily drop example 17 for xcairo because that driver is + # so horribly slow such interactive plots. + INDEX="01 04 08 14 16 24 30" +else + INDEX="01 04 08 14 16 17 24 30" +fi +for index in $INDEX; do if [ "$verbose_test" ] ; then echo "x${index}${lang}" fi - $DEBUG_CMD "$cdir"/x${index}${lang} -dev $device \ + $DEBUG_CMD "$cdir"/x${index}${lang} -dev $device -np \ 2> test.error >| "${OUTPUT_DIR}"/x${index}${lang}_${device}.txt # Look for any status codes (segfaults, plexit) from the examples # themselves. @@ -42,8 +47,8 @@ if [ "$status_code" -ne 0 ] ; then exit $status_code fi - # Look for any PLPLOT ERROR messages from plwarn that do not result in an - # exit code. + # Look for any PLPLOT ERROR messages from plwarn that do not result in an + # exit code. is_error=`grep -l 'PLPLOT ERROR' test.error` if [ -n "$is_error" ] ; then exit 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |