37 ] |
37 ] |
38 |
38 |
39 |
39 |
40 t.addbuildtargets('smoke_suite/test_resources/simple_gui/Bld.inf', [ |
40 t.addbuildtargets('smoke_suite/test_resources/simple_gui/Bld.inf', [ |
41 "helloworld_exe/helloworld.mbm_bmconvcommands", |
41 "helloworld_exe/helloworld.mbm_bmconvcommands", |
42 "helloworld_exe/helloworld_HelloWorld_sc.rpp", |
42 "helloworld_exe/helloworld_HelloWorld.rsc.rpp", |
43 "helloworld_exe/helloworld_HelloWorld_sc.rpp.d", |
43 "helloworld_exe/helloworld_HelloWorld.rsc.d", |
44 "helloworld_reg_exe/helloworld_reg_HelloWorld_reg_sc.rpp", |
44 "helloworld_reg_exe/helloworld_reg_HelloWorld_reg.rsc.rpp", |
45 "helloworld_reg_exe/helloworld_reg_HelloWorld_reg_sc.rpp.d"]) |
45 "helloworld_reg_exe/helloworld_reg_HelloWorld_reg.rsc.d"]) |
46 |
46 |
47 t.mustnotmatch = ["HelloWorld.rss.* warning: trigraph"] |
47 t.mustnotmatch = ["HelloWorld.rss.* warning: trigraph"] |
48 |
48 |
49 t.run() |
49 t.run() |
50 |
50 |
58 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 |
59 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 |
60 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. |
61 """ |
61 """ |
62 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') |
63 res_depfile= buildLocation+"/dependentresource_/dependentresource_dependentresource_sc.rpp.d" |
63 res_depfile= buildLocation+"/dependentresource_/dependentresource_dependentresource.rsc.d" |
64 |
64 |
65 |
65 |
66 t.targets = [ |
66 t.targets = [ |
67 "$(EPOCROOT)/epoc32/data/z/resource/anotherresource/testresource.r01", |
67 "$(EPOCROOT)/epoc32/data/z/resource/anotherresource/testresource.r01", |
68 "$(EPOCROOT)/epoc32/data/z/resource/anotherresource/testresource.rsc", |
68 "$(EPOCROOT)/epoc32/data/z/resource/anotherresource/testresource.rsc", |
69 "$(EPOCROOT)/epoc32/data/z/resource/dependentresource/dependentresource.rsc", |
69 "$(EPOCROOT)/epoc32/data/z/resource/dependentresource/dependentresource.rsc", |
70 "$(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.r01", |
70 "$(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.r01", |
71 "$(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.rsc", |
|
72 "$(EPOCROOT)/epoc32/include/testresource.hrh", |
71 "$(EPOCROOT)/epoc32/include/testresource.hrh", |
73 "$(EPOCROOT)/epoc32/include/testresource.rsg", |
72 "$(EPOCROOT)/epoc32/include/testresource.rsg", |
74 "$(EPOCROOT)/epoc32/include/onelang.rsg", |
73 "$(EPOCROOT)/epoc32/include/onelang.rsg", |
75 "$(EPOCROOT)/epoc32/release/armv5/urel/testresource.exe", |
74 "$(EPOCROOT)/epoc32/release/armv5/urel/testresource.exe", |
76 "$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/anotherresource/testresource.r01", |
75 "$(EPOCROOT)/epoc32/release/winscw/udeb/z/resource/anotherresource/testresource.r01", |
84 |
83 |
85 t.addbuildtargets('smoke_suite/test_resources/resource/group/bld.inf', [ |
84 t.addbuildtargets('smoke_suite/test_resources/resource/group/bld.inf', [ |
86 "dependentresource_/dependentresource_dependentresource.rsc", |
85 "dependentresource_/dependentresource_dependentresource.rsc", |
87 "testresource_/testresource_dependentresource.r01", |
86 "testresource_/testresource_dependentresource.r01", |
88 "testresource_/testresource_dependentresource.rsc", |
87 "testresource_/testresource_dependentresource.rsc", |
89 "testresource_/testresource_testresource_01.rpp", |
88 "testheader_/testheader_testresource_sc.rsg.d", |
90 "testresource_/testresource_testresource_01.rpp.d", |
89 "testheader_/testheader_testresource_sc.rsg.rpp", |
91 "testresource_/testresource_testresource_02.rpp", |
90 "testresource_/testresource_testresource.r02.rpp", |
92 "onelang_/onelang_onelang_sc.rpp", |
91 "onelang_/onelang_onelang_sc.rsg.rpp", |
93 "testresource_/testresource_testresource_sc.rpp"]) |
92 "testresource_/testresource_testresource.rsc.rpp"]) |
94 |
93 |
95 t.command = "sbs -b smoke_suite/test_resources/resource/group/bld.inf -c armv5_urel -c winscw_urel reallyclean ; sbs --no-depend-generate -j 16 -b smoke_suite/test_resources/resource/group/bld.inf -c armv5_urel -c winscw_urel -f ${SBSLOGFILE} -m ${SBSMAKEFILE} && grep 'epoc32.include.testresource.rsg' %s && { X=`md5sum $(EPOCROOT)/epoc32/release/winscw/urel/z/resource/anotherresource/testresource.rsc` && Y=`md5sum $(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.rsc` && [ \"${X%% *}\" != \"${Y%% *}\" ] ; } && wc -l %s " % (res_depfile, res_depfile) |
94 t.command = "sbs -b smoke_suite/test_resources/resource/group/bld.inf -c armv5_urel -c winscw_urel reallyclean ; sbs --no-depend-generate -j 16 -b smoke_suite/test_resources/resource/group/bld.inf -c armv5_urel -c winscw_urel -f ${SBSLOGFILE} -m ${SBSMAKEFILE} && grep 'epoc32.include.test[^ ]*.rsg' %s && { X=`md5sum $(EPOCROOT)/epoc32/release/winscw/urel/z/resource/anotherresource/testresource.rsc` && Y=`md5sum $(EPOCROOT)/epoc32/data/z/resource/testresource/testresource.rsc` && [ \"${X%% *}\" != \"${Y%% *}\" ] ; } && wc -l %s " % (res_depfile, res_depfile) |
|
95 |
96 |
96 |
97 t.mustnotmatch = [] |
97 t.mustnotmatch = [] |
98 |
98 |
99 t.mustmatch = [ |
99 t.mustmatch = [ |
100 "[23] .*.dependentresource_.dependentresource_dependentresource_sc.rpp.d" |
100 "[23] .*.dependentresource_.dependentresource_dependentresource.rsc.d" |
101 ] |
101 ] |
102 |
102 |
103 t.run() |
103 t.run() |
104 |
104 |
105 t.id="30b" |
105 t.id="30b" |