Project

General

Profile

« Previous | Next » 

Revision 371

input.Makefile: Added support for multi-column verification queries. inputs/SALVIAS: Added a multi-column verification query.

View differences:

input.Makefile
4 4
addBeforeExt = $(basename $(2))$(1)$(suffix $(2))
5 5

  
6 6
# Commands
7
DIFF = diff --unified=1 $(+:_%=)
7
DIFF = diff --unified=2 $(+:_%=)
8 8

  
9 9
table = $(shell s="$(*F)"; echo "$${s\#\#*.}")# remove sort order prefix
10 10

  
......
69 69
	$(DIFF)
70 70

  
71 71
%.out: %.sql _not_file
72
	$(psqlAsBien) --no-align --tuples-only <$< >$@
72
	$(psqlAsBien) --no-align --field-separator='	' --pset=footer=off <$< >$@
73 73
.PRECIOUS: %.out
74 74

  
75 75
all += $(wildcard *.out)
......
104 104
$(if $(n),,>>$(log)) 2>&1$(if $(n),|tee -a $(log))
105 105

  
106 106
%.ref: %.ref.sql
107
	$(mysqlAsBien) --skip-column-names $(db) <$< >$@
107
	$(mysqlAsBien) $(db) <$< >$@
108 108
.PRECIOUS: %.ref
109 109

  
110 110
###

Also available in: Unified diff