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

Last change on this file since 1619 was 1596, checked in by gah, 15 years ago
  • Property svn:executable set to *
File size: 1.6 KB
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
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"
39
40FLOW=" \
41 ./flow/demo1 \
42 ./flow/demo2 \
43 ./flow/demo3 \
44 ./flow"
45
46FERMI=" \
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
62MISC=" \
63  ./lang/tcl/putfile \
64  ./lang/tcl/loadercopy \
65  ./graph \
66  ./c-example \
67  ./canvas \
68  ./objects/xmlparser \
69"
70
71ALL="$FERMI $ZOO $FLOW $MISC"
72
73STD="\
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"
83dirs=$STD
84
85if test "$1" = "all" ; then
86  dirs=$ALL
87elif test "$1" = "fermi" ; then
88  dirs=$FERMI
89elif test "$1" = "flow" ; then
90  dirs=$FLOW
91elif test "$1" = "misc" ; then
92  dirs=$MISC
93elif test "$1" = "zoo" ; then
94  dirs=$ZOO
95fi
96
97for d in $dirs ; do
98    echo $d
99    (cd $d ; rappture)
100done
101
102(cd 3D; rerun 3d_test_run.xml)
Note: See TracBrowser for help on using the repository browser.