OSDN Git Service

test: run test{,_glibc} adjacent
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 10 Feb 2013 15:50:44 +0000 (16:50 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 11 Feb 2013 08:42:15 +0000 (09:42 +0100)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
test/Test.mak

index dbed096..ea710d6 100644 (file)
@@ -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)