Project

General

Profile

« Previous | Next » 

Revision 4271

input.Makefile: Testing: Merged $(test2Db) and $(testStaged2Db) because all tests now use the staging tables

View differences:

input.Makefile
370 370
exit $$e;}
371 371
endef
372 372

  
373
test2Db = $(runTest)
374
testStaged2Db = $(foreach use_staged,1,$(test2Db))# run with use_staged=1
373
test2Db = $(foreach use_staged,1,$(runTest))# run with use_staged=1
375 374

  
376 375
tests :=
377 376

  
378 377
# Requires staging tables. To create them, run `make inputs/<datasrc>/install`.
379 378
# Non-flat-file inputs fall back to mimicking a successful test
380 379
%/test.xml: %/VegBIEN.csv _always
381
	$(if $(isCsv),$(testStaged2Db))
380
	$(if $(isCsv),$(test2Db))
382 381
tests += %/test.xml
383 382

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

Also available in: Unified diff