Project

General

Profile

« Previous | Next » 

Revision 1987

input.Makefile: Testing: When cleaning up test outputs, remove everything that doesn't end in .ref

View differences:

input.Makefile
370 370
	$(test2Db)
371 371
tests += test/import.%.out
372 372

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

  
375 376
# Requires staging tables. To create them, run `make inputs/<datasrc>/install`.
376 377
test/import.%.staging.out: maps/VegBIEN.%.csv _always
......
384 385

  
385 386
test: _always $(testOutputs) ;
386 387

  
387
all += $(testOutputs)
388
all += $(filter-out %.ref,$(wildcard test/*))
388 389

  
389 390
# Accepts a test output: make <test_output_path>-ok
390 391
%-ok: _always

Also available in: Unified diff