From: <ai...@us...> - 2008-12-14 05:58:11
|
Revision: 9099 http://plplot.svn.sourceforge.net/plplot/?rev=9099&view=rev Author: airwin Date: 2008-12-14 05:58:09 +0000 (Sun, 14 Dec 2008) Log Message: ----------- Install PLD_tk and ENABLE_tk logic to control what interactive tests are done. Modified Paths: -------------- trunk/plplot_test/plplot-test-interactive.sh.in Modified: trunk/plplot_test/plplot-test-interactive.sh.in =================================================================== --- trunk/plplot_test/plplot-test-interactive.sh.in 2008-12-14 05:56:09 UTC (rev 9098) +++ trunk/plplot_test/plplot-test-interactive.sh.in 2008-12-14 05:58:09 UTC (rev 9099) @@ -1,17 +1,22 @@ -#!/bin/sh -# Test suite of all interactive tk stuff that cannot be done by file. +#!@SH_EXECUTABLE@ +# Test suite of PLplot interactive stuff that cannot be tested with +# file output device drivers. # e.g., tk driver (x14c), tcldemos, tkdemos. export cdir=c export tcldir=tcl export tkdir=tk -$cdir/x14c -dev tk -$cdir/x17c -dev tk -$tkdir/xtk01 -f $tkdir/tk01 -$tkdir/xtk02 -f $tkdir/tk02 -plserver -f $tkdir/tk03 -$tkdir/xtk04 -f $tkdir/tk04 -cd $tcldir -plserver <<EOF +if [ "@PLD_tk@" = "ON" ] ; then + $cdir/x14c -dev tk + $cdir/x17c -dev tk +fi + +if [ "@ENABLE_tk@" = "ON" ] ; then + $tkdir/xtk01 -f $tkdir/tk01 + $tkdir/xtk02 -f $tkdir/tk02 + plserver -f $tkdir/tk03 + $tkdir/xtk04 -f $tkdir/tk04 + cd $tcldir + plserver <<EOF plstdwin . plxframe .plw pack append . .plw {left expand fill} @@ -20,13 +25,13 @@ 1 exit EOF -cd ../$tkdir -pwd + cd ../$tkdir + pwd # Drop 2 to avoid 'invalid command name "plhlsrgb"' error. # Drop 14 because multiple devices do not seem to work in this context. # Drop 17 because it simply prints out unimplemented message. # Drop 24 to avoid 'invalid command name "plschr"' error. -plserver <<EOF + plserver <<EOF source tkdemos.tcl 1 3 @@ -56,3 +61,4 @@ 30 exit EOF +fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |