summaryrefslogtreecommitdiff
path: root/test/Test.mak
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-29 04:50:56 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-29 04:50:56 -0500
commitcd5f92704e1e17bbc0c15d197f3bc236c7dc9bf2 (patch)
tree1400302b543e4528aedea5d72731983559cfcf36 /test/Test.mak
parentad2bffbf1926051ef333f9899344f6bddf2c03cf (diff)
parent24946289317ea23bb0d1814cca0a499a905f7d6f (diff)
merge uClibc git master
Diffstat (limited to 'test/Test.mak')
-rw-r--r--test/Test.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Test.mak b/test/Test.mak
index ee43a0fcd..a56a20165 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -69,7 +69,7 @@ endef
define exec_test
$(showtest)
$(Q)\
- $(WRAPPER) $(WRAPPER_$(tst_src_name)) \
+ $(SIMULATOR) $(WRAPPER) $(WRAPPER_$(tst_src_name)) \
./$(binary_name) $(OPTS) $(OPTS_$(tst_src_name)) > "$(binary_name).out" 2>&1 ; \
ret=$$? ; \
expected_ret="$(RET_$(tst_src_name))" ; \
@@ -85,6 +85,9 @@ endef
test check all: run
run: $(RUN_TARGETS)
+
+$(addsuffix .exe,$(U_TARGETS)): SIMULATOR:=$(SIMULATOR_uclibc)
+$(addsuffix .exe,$(G_TARGETS)): SIMULATOR:=$(SIMULATOR_glibc)
$(RUN_TARGETS):
$(exec_test)
$(diff_test)