3 echo "========== Generate code =========="
6 perl ..
/..
/source
/codegen
/codegen.pl
test.job
9 echo "========== check files =========="
12 .
/checkfile makefile.new
13 .
/checkfile
export.exp
14 .
/checkfile skeleton.cxx
15 .
/checkfile nomethod.cxx
18 echo "========== backup makefile =========="
21 # backup original makefile
22 mv makefile.mk makefile.mk_orig
23 mv makefile.new makefile.mk
26 echo "========== build new sources =========="
32 echo "========== call testshl2 =========="
36 if ( -e ..
/..
/${INPATH}/bin
/testshl2
) then
37 ..
/..
/${INPATH}/bin
/testshl2
-jobonly test.job
40 ..
/..
/${INPATH}/bin
/testshl2 ..
/..
/${INPATH}/lib
/libtest.so
42 echo "testshl2 doesn't exist, test canceled."
46 echo "========== cleanup =========="