diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-02 15:45:57 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-02 15:45:57 +0000 |
commit | 86f53c1e4b3cd5193c60c2eb89a0707bf4bce0d9 (patch) | |
tree | f51366e1ca492e35fc41c285cf4ded8be778dc82 | |
parent | 0f3d1914ce52164bb29c1b6d630844fc396558ac (diff) |
Fix makefile target to run test when there are some shell script.
SImply do not include SHEL_TESTS among RUNTIME_TESTS, because
shell script have a their own rule to be excuted.
The runtime evaluation by using the $(shell ...) command doesn't work
due to immediate expansion of shell function.
Currently only nptl tests have shell script, so this problem have been never
discovered before.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
-rw-r--r-- | test/Test.mak | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Test.mak b/test/Test.mak index 69291a61e..dc587deca 100644 --- a/test/Test.mak +++ b/test/Test.mak @@ -32,8 +32,8 @@ TARGETS += $(G_TARGETS) endif CLEAN_TARGETS := $(U_TARGETS) $(G_TARGETS) COMPILE_TARGETS := $(TARGETS) -TARGETS += $(SHELL_TESTS) RUN_TARGETS := $(patsubst %,%.exe,$(TARGETS)) +TARGETS += $(SHELL_TESTS) define binary_name $(patsubst %.exe,%,$@) @@ -73,13 +73,11 @@ endef test check all: run run: $(RUN_TARGETS) compile $(RUN_TARGETS): $(TARGETS) -ifeq ($(shell echo "$(SHELL_TESTS)"|grep "$(binary_name)"),) $(exec_test) $(diff_test) ifeq ($(UCLIBC_ONLY),) $(uclibc_glibc_diff_test) endif -endif compile: $(COMPILE_TARGETS) |