Changeset 1596
- Timestamp:
- Oct 26, 2009 1:11:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/demo.bash.in
r1055 r1596 2 2 # 3 3 # use this script to run several rappture examples: 4 # % ./rundemo 4 # 5 # ./demo.bash 6 # 7 # ./demo.bash all 8 # 5 9 # when you exit from one example, the next one will start and display on your 6 10 # screen. 7 11 # 8 12 9 PYTHONPATH=@prefix@/lib/python2.5/site-packages 10 export PYTHONPATH 11 rpdir=@prefix@ 13 ZOO="\ 14 ./zoo/log \ 15 ./zoo/note \ 16 ./zoo/cloud \ 17 ./zoo/cloud \ 18 ./zoo/curve \ 19 ./zoo/field \ 20 ./zoo/group \ 21 ./zoo/image \ 22 ./zoo/phase \ 23 ./zoo/table \ 24 ./zoo/structure \ 25 ./zoo/loadrun \ 26 ./zoo/unirect2d \ 27 ./zoo/binary \ 28 ./zoo/choice \ 29 ./zoo/enable \ 30 ./zoo/loader \ 31 ./zoo/number \ 32 ./zoo/string \ 33 ./zoo/number2 \ 34 ./zoo/sequence \ 35 ./zoo/boolean \ 36 ./zoo/integer \ 37 ./zoo/integer2 \ 38 " 12 39 13 exdir=$rpdir/examples 40 FLOW=" \ 41 ./flow/demo1 \ 42 ./flow/demo2 \ 43 ./flow/demo3 \ 44 ./flow" 14 45 15 dirs="app-fermi/tcl app-fermi/python app-fermi/fortran c-example graph zoo/structure zoo/image zoo/cloud" 46 FERMI=" \ 47 ./app-fermi/cee \ 48 ./app-fermi/tcl \ 49 ./app-fermi/perl \ 50 ./app-fermi/ruby \ 51 ./app-fermi/fortran \ 52 ./app-fermi/matlab \ 53 ./app-fermi/matlab \ 54 ./app-fermi/octave/2 \ 55 ./app-fermi/octave/3 \ 56 ./app-fermi/python \ 57 ./app-fermi/wrapper/cee \ 58 ./app-fermi/wrapper/tcl \ 59 ./app-fermi/wrapper/python \ 60 " 16 61 17 echo "7 examples will be shown-->" 18 for i in $dirs ; do 19 echo $exdir/$i 20 cd $exdir/$i 21 $rpdir/bin/rappture 62 MISC=" \ 63 ./lang/tcl/putfile \ 64 ./lang/tcl/loadercopy \ 65 ./graph \ 66 ./c-example \ 67 ./canvas \ 68 ./objects/xmlparser \ 69 " 70 71 ALL="$FERMI $ZOO $FLOW $MISC" 72 73 STD="\ 74 app-fermi/tcl \ 75 app-fermi/python \ 76 app-fermi/fortran \ 77 c-example \ 78 graph \ 79 zoo/structure \ 80 zoo/image \ 81 zoo/cloud \ 82 " 83 dirs=$STD 84 85 if test "$1" = "all" ; then 86 dirs=$ALL 87 elif test "$1" = "fermi" ; then 88 dirs=$FERMI 89 elif test "$1" = "flow" ; then 90 dirs=$FLOW 91 elif test "$1" = "misc" ; then 92 dirs=$MISC 93 elif test "$1" = "zoo" ; then 94 dirs=$ZOO 95 fi 96 97 for d in $dirs ; do 98 echo $d 99 (cd $d ; rappture) 22 100 done 23 101 24 cd $exdir/3D 25 $rpdir/bin/rerun 3d_test_run.xml 102 (cd 3D; rerun 3d_test_run.xml)
Note: See TracChangeset
for help on using the changeset viewer.