Revision 4274
Added by Aaron Marcuse-Kubitza over 12 years ago
input.Makefile | ||
---|---|---|
344 | 344 |
|
345 | 345 |
##### Testing |
346 | 346 |
|
347 |
testRefOutput = $(subst .2-step,,$(subst .staging,,$(1)))
|
|
347 |
testRefOutput = $(subst .by_col,,$(1))
|
|
348 | 348 |
testRef = $(testRefOutput).ref |
349 | 349 |
hasOwnRef = $(filter $@,$(call testRefOutput,$@)) |
350 | 350 |
# filter returns non-empty if they are equal |
... | ... | |
379 | 379 |
$(if $(isCsv),$(runTest)) |
380 | 380 |
tests += %/test.xml |
381 | 381 |
|
382 |
%/test.by_col.xml: %/VegBIEN.csv _always |
|
383 |
-$(if $(isCsv),$(call runTest,by_col=1)) |
|
384 |
# Don't abort tester if only by-column test fails |
|
385 |
tests += %/test.by_col.xml |
|
386 |
|
|
382 | 387 |
testOutputs := $(foreach test,$(tests),$(tables:%=$(test))) |
383 | 388 |
|
384 | 389 |
.PRECIOUS: $(testOutputs) # save outputs of failed tests so they can be accepted |
Also available in: Unified diff
input.Makefile: Testing: Added by-column test, which is compared to the row-based test's accepted output