Project

General

Profile

« Previous | Next » 

Revision 4245

input.Makefile: Testing: %/test.staging.xml: Don't create test.staging.xml at all for non-flat-file inputs, because it is not needed (diff does not run in this case)

View differences:

input.Makefile
363 363

  
364 364
# Requires staging tables. To create them, run `make inputs/<datasrc>/install`.
365 365
%/test.staging.xml: %/VegBIEN.csv _always
366
	-$(if $(isCsv),$(testStaged2Db),cp -p $(@:.staging.xml=.xml) $@)
366
	-$(if $(isCsv),$(testStaged2Db))
367 367
# Don't abort tester if only staging test fails, in case staging table missing
368 368
# Non-flat-file inputs fall back to mimicking a successful test
369 369
tests += %/test.staging.xml

Also available in: Unified diff