blob: e181ecc3158ba1222b79ffab65da1401f5898957 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
rem demo
echo "========== Generate code =========="
echo
perl ..\..\..\source\codegen\codegen.pl test.job
echo
echo "========== check files =========="
echo
call checkfile makefile.new
call checkfile export.exp
call checkfile skeleton.cxx
call checkfile nomethod.cxx
echo
echo "========== backup makefile =========="
echo
ren makefile.mk makefile.mk_orig
ren makefile.new makefile.mk
echo
echo "========== build new sources =========="
echo
call dmake debug=t
echo
echo "========== call testshl2 =========="
echo
iff exist ..\..\..\%INPATH%\bin\testshl2.exe then
call ..\..\..\%INPATH%\bin\testshl2 -jobonly test.job
call ..\..\..\%INPATH%\bin\testshl2 ..\..\..\%INPATH%\bin\test.dll
else
echo "testshl2 doesn't exist, test canceled."
endiff
echo
echo "========== cleanup =========="
echo
call cleanup.btm
|