From 869b22b4221fa31a7edbdb2972f7c97cc946d4b4 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Mon, 25 Feb 2019 15:08:28 +0000 Subject: [PATCH] Sort test order so that perf tests start first. These take longer, so we want to start them earlier and let the shorter tests fill in the gaps in scheduling. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 46f799d..6fafa66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,6 +90,7 @@ enable_testing() set(TESTDIR ${CMAKE_CURRENT_SOURCE_DIR}/src/test) subdirlist(TEST_CATEGORIES ${TESTDIR}) +list(REVERSE TEST_CATEGORIES) foreach(TEST_CATEGORY ${TEST_CATEGORIES}) subdirlist(TESTS ${TESTDIR}/${TEST_CATEGORY}) foreach(TEST ${TESTS})