23 t.id = "30" |
23 t.id = "30" |
24 t.name = "resource" |
24 t.name = "resource" |
25 t.command = "sbs -b smoke_suite/test_resources/simple_gui/Bld.inf RESOURCE" |
25 t.command = "sbs -b smoke_suite/test_resources/simple_gui/Bld.inf RESOURCE" |
26 t.targets = [ |
26 t.targets = [ |
27 "$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.mbm", |
27 "$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.mbm", |
28 "$(EPOCROOT)/epoc32/localisation/group/helloworld.info", |
|
29 "$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.mbm", |
28 "$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.mbm", |
30 "$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.mbm", |
29 "$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.mbm", |
31 "$(EPOCROOT)/epoc32/include/helloworld.rsg", |
30 "$(EPOCROOT)/epoc32/include/helloworld.rsg", |
32 "$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.rsc", |
31 "$(EPOCROOT)/epoc32/data/z/resource/apps/helloworld.rsc", |
33 "$(EPOCROOT)/epoc32/localisation/helloworld/rsc/helloworld.rpp", |
|
34 "$(EPOCROOT)/epoc32/data/z/private/10003a3f/apps/helloworld_reg.rsc", |
32 "$(EPOCROOT)/epoc32/data/z/private/10003a3f/apps/helloworld_reg.rsc", |
35 "$(EPOCROOT)/epoc32/localisation/helloworld_reg/rsc/helloworld_reg.rpp", |
|
36 "$(EPOCROOT)/epoc32/localisation/group/helloworld_reg.info", |
|
37 "$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.rsc", |
33 "$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/apps/helloworld.rsc", |
38 "$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.rsc", |
34 "$(EPOCROOT)/epoc32/release/winscw/urel/z/resource/apps/helloworld.rsc", |
39 "$(EPOCROOT)/epoc32/release/winscw/udeb/z/private/10003a3f/apps/helloworld_reg.rsc", |
35 "$(EPOCROOT)/epoc32/release/winscw/udeb/z/private/10003a3f/apps/helloworld_reg.rsc", |
40 "$(EPOCROOT)/epoc32/release/winscw/urel/z/private/10003a3f/apps/helloworld_reg.rsc" |
36 "$(EPOCROOT)/epoc32/release/winscw/urel/z/private/10003a3f/apps/helloworld_reg.rsc" |
41 ] |
37 ] |
42 |
38 |
43 |
39 |
44 t.addbuildtargets('smoke_suite/test_resources/simple_gui/Bld.inf', [ |
40 t.addbuildtargets('smoke_suite/test_resources/simple_gui/Bld.inf', [ |
45 "helloworld_exe/helloworld.mbm_bmconvcommands", |
41 "helloworld_exe/helloworld.mbm_bmconvcommands", |
46 "helloworld_exe/helloworld_sc.rpp", |
42 "helloworld_exe/helloworld_HelloWorld_sc.rpp", |
47 "helloworld_exe/helloworld_sc.rpp.d", |
43 "helloworld_exe/helloworld_HelloWorld_sc.rpp.d", |
48 "helloworld_reg_exe/helloworld_reg_sc.rpp", |
44 "helloworld_reg_exe/helloworld_reg_HelloWorld_reg_sc.rpp", |
49 "helloworld_reg_exe/helloworld_reg_sc.rpp.d"]) |
45 "helloworld_reg_exe/helloworld_reg_HelloWorld_reg_sc.rpp.d"]) |
50 |
46 |
51 t.mustnotmatch = ["HelloWorld.rss.* warning: trigraph"] |
47 t.mustnotmatch = ["HelloWorld.rss.* warning: trigraph"] |
52 |
48 |
53 t.run() |
49 t.run() |
54 |
50 |
62 N.B. It also attempts to ensure that the dependency file is 'minimal' i.e. that it only references .mbg and .rsg files |
58 N.B. It also attempts to ensure that the dependency file is 'minimal' i.e. that it only references .mbg and .rsg files |
63 that might come from other parts of the same build. This is important for performance in situations where --no-depend-generate |
59 that might come from other parts of the same build. This is important for performance in situations where --no-depend-generate |
64 is used because the weight of 'complete' dependency information would overwhelm make. |
60 is used because the weight of 'complete' dependency information would overwhelm make. |
65 """ |
61 """ |
66 buildLocation = ReplaceEnvs("$(EPOCROOT)/epoc32/build/") + BldInfFile.outputPathFragment('smoke_suite/test_resources/resource/group/bld.inf') |
62 buildLocation = ReplaceEnvs("$(EPOCROOT)/epoc32/build/") + BldInfFile.outputPathFragment('smoke_suite/test_resources/resource/group/bld.inf') |
67 res_depfile= buildLocation+"/dependentresource_/dependentresource_sc.rpp.d" |
63 res_depfile= buildLocation+"/dependentresource_/dependentresource_dependentresource_sc.rpp.d" |
68 |
64 |
69 t.targets = [ |
65 t.targets = [ |
70 "$(EPOCROOT)/epoc32/include/testresource.rsg", |
66 "$(EPOCROOT)/epoc32/include/testresource.rsg", |
71 "$(EPOCROOT)/epoc32/include/testresource.hrh", |
67 "$(EPOCROOT)/epoc32/include/testresource.hrh", |
72 "$(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.r01", |
68 "$(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.r01", |
73 "$(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.rsc", |
69 "$(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.rsc", |
74 "$(EPOCROOT)/epoc32/release/armv5/urel/testresource.exe", |
70 "$(EPOCROOT)/epoc32/release/armv5/urel/testresource.exe", |
75 "$(EPOCROOT)/epoc32/localisation/group/testresource.info", |
|
76 "$(EPOCROOT)/epoc32/localisation/testresource/rsc/testresource.rpp", |
|
77 res_depfile |
71 res_depfile |
78 ] |
72 ] |
79 |
73 |
80 t.addbuildtargets('smoke_suite/test_resources/resource/group/bld.inf', [ |
74 t.addbuildtargets('smoke_suite/test_resources/resource/group/bld.inf', [ |
81 "testresource_/testresource_02.rpp", |
75 "testresource_/testresource_testresource_02.rpp", |
82 "testresource_/testresource_02.rpp.d", |
76 "testresource_/testresource_testresource_01.rpp", |
83 "testresource_/testresource_01.rpp", |
77 "testresource_/testresource_testresource_01.rpp.d", |
84 "testresource_/testresource_01.rpp.d", |
78 "testresource_/testresource_testresource_sc.rpp"]) |
85 "testresource_/testresource_sc.rpp", |
|
86 "testresource_/testresource_sc.rpp.d"]) |
|
87 |
79 |
88 t.command = "sbs -b smoke_suite/test_resources/resource/group/bld.inf -c armv5_urel reallyclean ; sbs --no-depend-generate -j 16 -b smoke_suite/test_resources/resource/group/bld.inf -c armv5_urel -f ${SBSLOGFILE} -m ${SBSMAKEFILE} && grep 'epoc32.include.testresource.rsg' %s && wc -l %s " % (res_depfile, res_depfile) |
80 t.command = "sbs -b smoke_suite/test_resources/resource/group/bld.inf -c armv5_urel reallyclean ; sbs --no-depend-generate -j 16 -b smoke_suite/test_resources/resource/group/bld.inf -c armv5_urel -f ${SBSLOGFILE} -m ${SBSMAKEFILE} && grep 'epoc32.include.testresource.rsg' %s && wc -l %s " % (res_depfile, res_depfile) |
89 |
81 |
90 t.mustnotmatch = [] |
82 t.mustnotmatch = [] |
91 |
83 |
92 t.mustmatch = [ |
84 t.mustmatch = [ |
93 "4 .*.dependentresource_.dependentresource_sc.rpp.d" |
85 "[23] .*.dependentresource_.dependentresource_dependentresource_sc.rpp.d" |
94 ] |
86 ] |
95 |
87 |
96 t.run() |
88 t.run() |
97 |
89 |
98 t.name = 'resource' |
90 t.name = 'resource' |