Project

General

Profile

« Previous | Next » 

Revision 1620

input.Makefile: verify: Added reverify option, which can be turned off to prevent regenerating the verify/%.out file from the DB (which can be time-consuming), and instead just diff verify/%.out with verify/%.ref

View differences:

input.Makefile
2 2

  
3 3
log ?= $(if $(test),,1)
4 4
profile ?=
5
reverify ?= 1
5 6
exts ?= csv tsv txt xml
6 7
test_n ?= 2
7 8
tablesSort ?= plots organisms stems
......
211 212
# don't run if verify/%.out's default do-nothing action was used
212 213
# can't use $(wildcard) because it won't recheck file after verify/%.out is run
213 214

  
214
verify = "time" $(psqlAsBien) --set=datasource="'$(datasrc)'" --no-align\
215
--field-separator=$$'\t' --pset=footer=off --pset=null=NULL <$< >$@
215
verify = $(if $(reverify),"time" $(psqlAsBien) --set=datasource="'$(datasrc)'"\
216
--no-align --field-separator=$$'\t' --pset=footer=off --pset=null=NULL <$< >$@)
216 217

  
217 218
verify/%.out: $(mappings)/verify.%.sql _always
218 219
	$(verify)

Also available in: Unified diff