Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:07

0001 #!/bin/bash
0002 usage(){ cat << EOU
0003 QSimTest_ONE.sh
0004 =================
0005 
0006 Thus script is intended to be symbolically linked with the
0007 name of one TEST you want to make more convenient to run, eg::
0008 
0009     cd ~/o/qudarap/tests # qt 
0010     ln -s QSimTest_ONE.sh propagate_at_boundary_s_polarized.sh  
0011     chmod ugo+x ~/o/qudarap/tests/propagate_at_boundary_s_polarized.sh
0012 
0013 This is useful for cycling on a failing test::
0014 
0015     ~/o/qudarap/tests/propagate_at_boundary_s_polarized.sh
0016     ~/o/qudarap/tests/propagate_at_boundary_s_polarized.sh dbg
0017 
0018 EOU
0019 }
0020 
0021 cd $(dirname $(realpath $BASH_SOURCE))
0022 
0023 name=$(basename $BASH_SOURCE)
0024 name=${name/.sh}
0025 
0026 vars="0 BASH_SOURCE PWD name"
0027 for var in $vars ; do printf "%20s : %s\n" "$var" "${!var}" ; done 
0028 
0029 TEST=$name ./QSimTest.sh $* 
0030 
0031