equal
deleted
inserted
replaced
50 |
50 |
51 t.mustnotmatch = ["HelloWorld.rss.* warning: trigraph"] |
51 t.mustnotmatch = ["HelloWorld.rss.* warning: trigraph"] |
52 |
52 |
53 t.run() |
53 t.run() |
54 |
54 |
55 |
|
56 t.id="30a" |
55 t.id="30a" |
57 t.name = "no_depend_gen_resource" |
56 t.name = "no_depend_gen_resource" |
58 t.usebash = True |
57 t.usebash = True |
59 t.description = """Check that dependent resources still build correctly even when we turn dependency generation off. This |
58 t.description = """Check that dependent resources still build correctly even when we turn dependency generation off. This |
60 test cannot really do this reliably, if you think about it, since it can't force make to try building resources |
59 test cannot really do this reliably, if you think about it, since it can't force make to try building resources |
63 N.B. It also attempts to ensure that the dependency file is 'minimal' i.e. that it only references .mbg and .rsg files |
62 N.B. It also attempts to ensure that the dependency file is 'minimal' i.e. that it only references .mbg and .rsg files |
64 that might come from other parts of the same build. This is important for performance in situations where --no-depend-generate |
63 that might come from other parts of the same build. This is important for performance in situations where --no-depend-generate |
65 is used because the weight of 'complete' dependency information would overwhelm make. |
64 is used because the weight of 'complete' dependency information would overwhelm make. |
66 """ |
65 """ |
67 buildLocation = ReplaceEnvs("$(EPOCROOT)/epoc32/build/") + BldInfFile.outputPathFragment('smoke_suite/test_resources/resource/group/bld.inf') |
66 buildLocation = ReplaceEnvs("$(EPOCROOT)/epoc32/build/") + BldInfFile.outputPathFragment('smoke_suite/test_resources/resource/group/bld.inf') |
68 #res_depfile= buildLocation+"/dependentresource_/dependentresource_resource_dependentresource_sc.rpp.d" |
|
69 res_depfile= buildLocation+"/dependentresource_/dependentresource_sc.rpp.d" |
67 res_depfile= buildLocation+"/dependentresource_/dependentresource_sc.rpp.d" |
70 |
68 |
71 t.targets = [ |
69 t.targets = [ |
72 "$(EPOCROOT)/epoc32/include/testresource.rsg", |
70 "$(EPOCROOT)/epoc32/include/testresource.rsg", |
73 "$(EPOCROOT)/epoc32/include/testresource.hrh", |
71 "$(EPOCROOT)/epoc32/include/testresource.hrh", |
94 t.mustmatch = [ |
92 t.mustmatch = [ |
95 "3 .*.dependentresource_.dependentresource_sc.rpp.d" |
93 "3 .*.dependentresource_.dependentresource_sc.rpp.d" |
96 ] |
94 ] |
97 |
95 |
98 t.run() |
96 t.run() |
|
97 |
|
98 t.name = 'resource' |
|
99 t.print_result() |
99 return t |
100 return t |