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

Last change on this file since 3416 was 3075, checked in by gah, 12 years ago
  • Property svn:executable set to *
File size: 1.7 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/binary
15        ./zoo/boolean
16        ./zoo/choice
17        ./zoo/cloud/matlab
18        ./zoo/cloud
19        ./zoo/curve
20        ./zoo/drawing
21        ./zoo/enable
22        ./zoo/field
23        ./zoo/group
24        ./zoo/histogram
25        ./zoo/image
26        ./zoo/integer
27        ./zoo/integer2
28        ./zoo/loader
29        ./zoo/log
30        ./zoo/note
31        ./zoo/number
32        ./zoo/number2
33        ./zoo/parallelepiped
34        ./zoo/periodicelement
35        ./zoo/phase
36        ./zoo/sequence
37        ./zoo/string
38        ./zoo/structure
39        ./zoo/table
40        ./zoo/unirect2d
41"
42
43FLOW=" \
44        ./flow/demo1
45        ./flow/demo2
46        ./flow/demo3
47        ./flow
48"
49FERMI=" \
50        ./app-fermi/cee
51        ./app-fermi/fortran
52        ./app-fermi/tcl
53        ./app-fermi/perl
54        ./app-fermi/python
55        ./app-fermi/ruby
56        ./app-fermi/java
57        ./app-fermi/R
58        ./app-fermi/matlab/uncompiled
59        ./app-fermi/matlab/compiled
60        ./app-fermi/octave/octave2
61        ./app-fermi/octave/octave3
62        ./app-fermi/wrapper/cee
63        ./app-fermi/wrapper/tcl
64        ./app-fermi/wrapper/perl
65        ./app-fermi/wrapper/python
66"
67
68MISC=" \
69  ./lang/tcl/putfile \
70  ./lang/tcl/loadercopy \
71  ./graph \
72  ./c-example \
73  ./canvas \
74  ./objects/xmlparser \
75"
76
77ALL="$FERMI $ZOO $FLOW $MISC"
78
79STD="\
80  app-fermi/tcl  \
81  app-fermi/python  \
82  app-fermi/fortran  \
83  c-example  \
84  graph  \
85  zoo/structure  \
86  zoo/image  \
87  zoo/cloud \
88"
89dirs=$STD
90
91if test "$1" = "all" ; then
92  dirs=$ALL
93elif test "$1" = "fermi" ; then
94  dirs=$FERMI
95elif test "$1" = "flow" ; then
96  dirs=$FLOW
97elif test "$1" = "misc" ; then
98  dirs=$MISC
99elif test "$1" = "zoo" ; then
100  dirs=$ZOO
101fi
102
103for d in $dirs ; do
104    echo $d
105    (cd $d ; rappture)
106done
107
108(cd 3D; rerun 3d_test_run.xml)
Note: See TracBrowser for help on using the repository browser.