summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Test.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Test.mak b/test/Test.mak
index dbed09624..ea710d67d 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -35,7 +35,8 @@ endif
CLEAN_TARGETS := $(U_TARGETS) $(G_TARGETS)
CLEAN_TARGETS += $(TESTS_DISABLED) $(addsuffix _glibc,$(TESTS_DISABLED)) $(GLIBC_TESTS_DISABLED)
COMPILE_TARGETS := $(TARGETS)
-RUN_TARGETS := $(addsuffix .exe,$(TARGETS))
+# We sort the targets so uClibc and host-libc tests are run adjacent
+RUN_TARGETS := $(sort $(addsuffix .exe,$(TARGETS)))
# provide build rules even for disabled tests:
U_TARGETS += $(TESTS_DISABLED)
G_TARGETS += $(addsuffix _glibc,$(TESTS_DISABLED)) $(GLIBC_TESTS_DISABLED)