source: trunk/examples/demo.bash.in @ 1926

Last change on this file since 1926 was 1738, checked in by gah, 14 years ago
  • Property svn:executable set to *
File size: 1.6 KB
RevLine 
[105]1#!/bin/bash
2#
3# use this script to run several rappture examples:
[1596]4#
5#       ./demo.bash
6#               
7#        ./demo.bash all
8#
[105]9# when you exit from one example, the next one will start and display on your
10# screen.
11#
12
[1596]13ZOO="\
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"
[131]39
[1596]40FLOW=" \
41 ./flow/demo1 \
42 ./flow/demo2 \
43 ./flow/demo3 \
44 ./flow"
[145]45
[1596]46FERMI=" \
47  ./app-fermi/cee \
48  ./app-fermi/tcl \
[1738]49  ./app-fermi/java \
[1596]50  ./app-fermi/perl \
51  ./app-fermi/ruby \
52  ./app-fermi/fortran \
53  ./app-fermi/matlab \
54  ./app-fermi/matlab \
55  ./app-fermi/octave/2 \
56  ./app-fermi/octave/3 \
57  ./app-fermi/python \
58  ./app-fermi/wrapper/cee \
59  ./app-fermi/wrapper/tcl \
60  ./app-fermi/wrapper/python \
61"
[105]62
[1596]63MISC=" \
64  ./lang/tcl/putfile \
65  ./lang/tcl/loadercopy \
66  ./graph \
67  ./c-example \
68  ./canvas \
69  ./objects/xmlparser \
70"
71
72ALL="$FERMI $ZOO $FLOW $MISC"
73
74STD="\
75  app-fermi/tcl  \
76  app-fermi/python  \
77  app-fermi/fortran  \
78  c-example  \
79  graph  \
80  zoo/structure  \
81  zoo/image  \
82  zoo/cloud \
83"
84dirs=$STD
85
86if test "$1" = "all" ; then
87  dirs=$ALL
88elif test "$1" = "fermi" ; then
89  dirs=$FERMI
90elif test "$1" = "flow" ; then
91  dirs=$FLOW
92elif test "$1" = "misc" ; then
93  dirs=$MISC
94elif test "$1" = "zoo" ; then
95  dirs=$ZOO
96fi
97
98for d in $dirs ; do
99    echo $d
100    (cd $d ; rappture)
[105]101done
102
[1596]103(cd 3D; rerun 3d_test_run.xml)
Note: See TracBrowser for help on using the repository browser.