Revision 4273
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/input.Makefile | ||
---|---|---|
371 | 371 |
exit $$e;} |
372 | 372 |
endef |
373 | 373 |
|
374 |
test2Db = $(runTest) |
|
375 |
|
|
376 | 374 |
tests := |
377 | 375 |
|
378 | 376 |
# Requires staging tables. To create them, run `make inputs/<datasrc>/install`. |
379 | 377 |
# Non-flat-file inputs fall back to mimicking a successful test |
380 | 378 |
%/test.xml: %/VegBIEN.csv _always |
381 |
$(if $(isCsv),$(test2Db))
|
|
379 |
$(if $(isCsv),$(runTest))
|
|
382 | 380 |
tests += %/test.xml |
383 | 381 |
|
384 | 382 |
testOutputs := $(foreach test,$(tests),$(tables:%=$(test))) |
Also available in: Unified diff
input.Makefile: Testing: Merged $(runTest) and $(test2Db) because all tests go to the database