comparison gpf/BIN/post_processing.bat @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1
2 pkill %exe%._xe
3 pkill %exe%.exe
4 pkill %exe%.ex
5 pkill %exe%._x
6 pkill g23_smi_gprs_wa
7
8 @if errorlevel == 2 goto access_error
9
10 @DELAY 2
11
12 PREP /M %outdir%%exe%
13
14
15 echo errorlevel is: %errorlevel%
16 if errorlevel == 1 goto done
17
18 PLIST %outdir%%exe% > %outdir%%exe%-%method%3.lst
19 PLIST %arg2% %outdir%%exe% > %outdir%%exe%-%method%.lst
20 PLIST /F /T %outdir%%exe% > %outdir%%exe%-%method%2.lst
21
22
23 @rem perl -e"while(<>){if(/^ 0 .*\((.*):(\d*)\)/){print qq(\\gpf\\util\\teststack\\msdev\\teststack_profile_files\\$1($2) : Line not reached\n)}}" \gpf\util\teststack\msdev\teststack_profile_files\teststack-LV.lst >\gpf\util\teststack\msdev\teststack_profile_files\teststack-LV.out
24 @rem perl -e"while(<>){if(/^ 0 .*\((.*):(\d*)\)/){print qq(\\gpf\\util\\teststack\\msdev\\teststack_profile_files\\$1($2) : Line not reached\n)}}" \teststack-LV.lst > \teststack2-LV.out
25
26
27 perl -e"while(<>){if(/^(\d) (.*) (.*) (\d*) 0/){print qq($3($4) : Line not reached\n)}}" %outdir%%exe%-%method%2.lst > %outdir%%exe%-%method%.out
28 rem type %outdir%%exe%-%method%.out
29
30 @INPUT /c /x Do you want to delete the intermediate files (y/n). %%answer
31
32 @if %answer% == y (
33 @echo ^n
34 @echo Cleaning up by deleting intermediate files...
35 @if exist %outdir%%exe%.pbi del %outdir%%exe%.pbi
36 @if exist %outdir%%exe%.pbo del %outdir%%exe%.pbo
37 @if exist %outdir%%exe%.pbt del %outdir%%exe%.pbt
38 @if exist %outdir%%exe%.exe del %outdir%%exe%.exe
39 @if exist %outdir%%exe%.map del %outdir%%exe%.map
40 @if exist %outdir%%exe%._xe del %outdir%%exe%._xe
41 @echo Done.
42 @)
43 @echo ^n
44
45 @goto done
46
47 :access_error
48 @echo /////////////////////////////////////////////////////////////////////////////////////////////
49 @echo ERROR: An error occured. Perhaps you do not have the permissions to execute /gpf/bin/pkill.
50 @echo Please check Clearcase properties of this element and try again.
51 @echo /////////////////////////////////////////////////////////////////////////////////////////////
52
53 :done