Project

General

Profile

« Previous | Next » 

Revision 401

input.Makefile: Tests use bin/map's new new test mode

View differences:

input.Makefile
17 17
root := $(selfDir_3d1bc249)..
18 18
psqlAsBien := $(root)/bin/psql_vegbien
19 19

  
20
# Config
21
test_n ?= 2
22

  
20 23
#####
21 24

  
22 25
all: _always maps import verify
......
135 138
####
136 139

  
137 140
test.%.out: map.VegBIEN.%.csv _always
138
	env n=2 $(map) $< >$@ 2>&1
141
	env test=1 n=$(test_n) $(map) $< >$@ 2>&1 || { e=$$?; cat $@; exit $$e;}
139 142
.PRECIOUS: test.%.out
140 143

  
141 144
#####

Also available in: Unified diff