From 5b30783c0477b01340d27e7eefb80f8cd09987e2 Mon Sep 17 00:00:00 2001 From: Raul Marin Date: Tue, 31 Oct 2017 10:03:29 +0100 Subject: [PATCH] PG regress: Order the tests Avoids an issue where some tests were run before the setup --- src/pg/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pg/Makefile b/src/pg/Makefile index 6775aad..c6fe484 100644 --- a/src/pg/Makefile +++ b/src/pg/Makefile @@ -25,7 +25,7 @@ $(DATA): $(SOURCES_DATA) $(SED) $(REPLACEMENTS) $(SOURCES_DATA_DIR)/*.sql > $@ TEST_DIR = test -REGRESS = $(notdir $(basename $(wildcard $(TEST_DIR)/sql/*test.sql))) +REGRESS = $(sort $(notdir $(basename $(wildcard $(TEST_DIR)/sql/*test.sql)))) REGRESS_OPTS = --inputdir='$(TEST_DIR)' --outputdir='$(TEST_DIR)' PG_CONFIG = pg_config