Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:48:58

0001 #!/bin/bash -l 
0002 
0003 usage(){ cat << EOU
0004 make_demos.sh
0005 ===============
0006 
0007 Gets the list of geometies from CSGDemoTest.sh including the 
0008 commented out ones. Then for each GEOMETRY invokes CSGDemoTest.sh
0009 
0010 EOU
0011 }
0012 
0013 msg="=== $BASH_SOURCE :"
0014 geometrys=$(perl -n -e 'm,geometry=(\S*), && print "$1\n" '  CSGDemoTest.sh)
0015 
0016 for geometry in $geometrys ; do 
0017    GEOMETRY=$geometry ./CSGDemoTest.sh 
0018    [ $? -ne 0 ] && echo $msg FAIL for geometry $geometry  && exit 1  
0019 done 
0020 
0021 exit 0