Project

General

Profile

« Previous | Next » 

Revision 1988

input.Makefile: Testing: Don't abort tester if only staging test fails, in case staging table missing

View differences:

inputs/input.Makefile
375 375

  
376 376
# Requires staging tables. To create them, run `make inputs/<datasrc>/install`.
377 377
test/import.%.staging.out: maps/VegBIEN.%.csv _always
378
	$(if $(isCsv),$(testStaged2Db),cp -p $(@:.staging.out=.out) $@)
379
# non-flat-file inputs fall back to mimicking a successful test
378
	-$(if $(isCsv),$(testStaged2Db),cp -p $(@:.staging.out=.out) $@)
379
# Don't abort tester if only staging test fails, in case staging table missing
380
# Non-flat-file inputs fall back to mimicking a successful test
380 381
tests += test/import.%.staging.out
381 382

  
382 383
testOutputs := $(foreach test,$(tests),$(tables:%=$(test)))

Also available in: Unified diff