equal
deleted
inserted
replaced
196 COMPONENT_TEST_TRANSFORMS = \ |
196 COMPONENT_TEST_TRANSFORMS = \ |
197 '-e "s|$(@D)|\\$$(@D)|g" ' \ |
197 '-e "s|$(@D)|\\$$(@D)|g" ' \ |
198 '-e "s|$(PERL)|\\$$(PERL)|g" ' \ |
198 '-e "s|$(PERL)|\\$$(PERL)|g" ' \ |
199 '-e "s|$(SOURCE_DIR)|\\$$(SOURCE_DIR)|g" ' |
199 '-e "s|$(SOURCE_DIR)|\\$$(SOURCE_DIR)|g" ' |
200 |
200 |
|
201 Note that in some cases, gsed is not powerful enough. E.g., if you need to |
|
202 do more than massage or remove certain lines, but only compare certain sections |
|
203 of the file, then you may need to set COMPONENT_TEST_TRANSFORMER to something |
|
204 other than $(GSED) such as $(NAWK). In this case, you will want to set |
|
205 COMPONENT_TEST_TRANSFORMS using "=" instead of "+=", as the default sed |
|
206 transforms will likely need to be tossed aside in favor of whatever arguments |
|
207 your favorite transformer might need. |
|
208 |
201 When your master test file(s) are in good shape, then you should "hg add" |
209 When your master test file(s) are in good shape, then you should "hg add" |
202 them to your workspace. |
210 them to your workspace. |