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

Last change on this file since 4503 was 3718, checked in by ldelgass, 7 years ago

Replace zoo/cloud with zoo/field in standard examples for demo script

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