From 13e0a5f4c7c53b6180a251ff55c713820c85b12c Mon Sep 17 00:00:00 2001 From: Sven Klemm Date: Sat, 1 Aug 2020 15:28:33 +0200 Subject: [PATCH] Sort test list in pg_regress This patch changes pg_regress to sort the test list when tests are controlled with either TESTS or SKIPS. This makes it more consistent with the unfiltered test run which gets a sorted list from cmake. --- test/pg_regress.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/pg_regress.sh b/test/pg_regress.sh index bfa2895e3..fc0f60736 100755 --- a/test/pg_regress.sh +++ b/test/pg_regress.sh @@ -82,6 +82,8 @@ else exit 0 fi + current_tests=$(echo "${current_tests}" | tr ' ' '\n' | sort) + TESTS=${current_tests} echo > ${TEMP_SCHEDULE}