Project

General

Profile

« Previous | Next » 

Revision 4275

input.Makefile: Testing: Only run column-based tests if column-based mode enabled, because these tests are much slower than the row-based tests for small numbers of rows. Note that this involves explicitly turning off column-based mode in the row-based test, to prevent propagation of the by_col env var which both enables these extra tests and sets bin/map to run in column-based mode.

View differences:

input.Makefile
376 376
# Requires staging tables. To create them, run `make inputs/<datasrc>/install`.
377 377
# Non-flat-file inputs fall back to mimicking a successful test
378 378
%/test.xml: %/VegBIEN.csv _always
379
	$(if $(isCsv),$(runTest))
379
	$(if $(isCsv),$(call runTest,by_col=))
380 380
tests += %/test.xml
381 381

  
382 382
%/test.by_col.xml: %/VegBIEN.csv _always
383 383
	-$(if $(isCsv),$(call runTest,by_col=1))
384 384
# Don't abort tester if only by-column test fails
385

  
386
# Only run column-based tests if column-based mode enabled, because these tests
387
# are much slower than the row-based tests for small numbers of rows
388
ifneq ($(by_col),)
385 389
tests += %/test.by_col.xml
390
endif
386 391

  
387 392
testOutputs := $(foreach test,$(tests),$(tables:%=$(test)))
388 393

  

Also available in: Unified diff