diff --git a/test/Makefile b/test/Makefile index f3c5138..1bf09ef 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,10 +1,10 @@ +TESTS = example_1 stackoverflow custom_syscall +RUNCMD = $(foreach TEST,${TESTS},make -C ${TEST} &&) +CLEANCMD = $(foreach TEST,${TESTS},make -C ${TEST} clean &&) + all: - @make -C example_1 - @make -C stackoverflow - @make -C custom_syscall + ${RUNCMD} true clean: - make -C example_1 clean - make -C stackoverflow clean - make -C custom_syscall + ${CLEANCMD} true diff --git a/test/custom_syscall/Makefile b/test/custom_syscall/Makefile index 07ba1b0..6533b02 100644 --- a/test/custom_syscall/Makefile +++ b/test/custom_syscall/Makefile @@ -18,7 +18,7 @@ INC_DIRS=-I$(UNITY_ROOT)/src -I../../uvm32/ -I../../common -Irom default: $(SRC_FILES1) rom @$(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES1) rom/rom-header.c -o $(TARGET1) - @- ./$(TARGET1) + @ ./$(TARGET1) rom: @(cd rom && make) diff --git a/test/example_1/Makefile b/test/example_1/Makefile index 07ba1b0..6533b02 100644 --- a/test/example_1/Makefile +++ b/test/example_1/Makefile @@ -18,7 +18,7 @@ INC_DIRS=-I$(UNITY_ROOT)/src -I../../uvm32/ -I../../common -Irom default: $(SRC_FILES1) rom @$(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES1) rom/rom-header.c -o $(TARGET1) - @- ./$(TARGET1) + @ ./$(TARGET1) rom: @(cd rom && make) diff --git a/test/stackoverflow/Makefile b/test/stackoverflow/Makefile index 0ddca7a..9df5a9b 100644 --- a/test/stackoverflow/Makefile +++ b/test/stackoverflow/Makefile @@ -18,7 +18,7 @@ INC_DIRS=-I$(UNITY_ROOT)/src -I../../uvm32/ -I../../common -Irom default: $(SRC_FILES1) rom @$(C_COMPILER) $(CFLAGS) $(INC_DIRS) $(SYMBOLS) $(SRC_FILES1) rom/rom-header.c -o $(TARGET1) - @- ./$(TARGET1) + @ ./$(TARGET1) rom: @(cd rom && make)