Line | |
---|
1 | #!/bin/bash |
---|
2 | # |
---|
3 | # use this script to run several rappture examples: |
---|
4 | # |
---|
5 | # ./demo.bash |
---|
6 | # |
---|
7 | # ./demo.bash all |
---|
8 | # |
---|
9 | # when you exit from one example, the next one will start and display on your |
---|
10 | # screen. |
---|
11 | # |
---|
12 | |
---|
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 | " |
---|
39 | |
---|
40 | FLOW=" \ |
---|
41 | ./flow/demo1 \ |
---|
42 | ./flow/demo2 \ |
---|
43 | ./flow/demo3 \ |
---|
44 | ./flow" |
---|
45 | |
---|
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 | " |
---|
61 | |
---|
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) |
---|
100 | done |
---|
101 | |
---|
102 | (cd 3D; rerun 3d_test_run.xml) |
---|
Note: See
TracBrowser
for help on using the repository browser.