Changeset 97 for trunk/Platforms
- Timestamp:
- Dec 19, 2008, 4:34:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Platforms/Test/Makefile
r88 r97 58 58 OBJECTS = $(patsubst $(DIR_SRC)/%.cpp,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SRC)/*.cpp)) 59 59 LOGS = $(patsubst $(DIR_DATA)/%.cfg,$(DIR_LOG)/%.log,$(wildcard $(DIR_DATA)/*.cfg)) 60 DEBUG_CFG = $(DIR_DATA)/debug.cfg 61 DEBUG_LOG = $(DIR_LOG)/debug.log 60 62 61 63 EXEC = $(DIR_BIN)/soft.x … … 106 108 run : $(DIR_LOG) all 107 109 @\ 108 $(MAKE) $(LOGS); \ 110 declare logs; \ 111 if $(TEST) -f "$(DEBUG_CFG)"; then \ 112 logs="$(DEBUG_LOG)"; \ 113 else \ 114 logs="$(LOGS)"; \ 115 fi; \ 116 $(MAKE) $$logs; \ 109 117 declare -i have_test_ko=0; \ 110 for log in $ (LOGS); do \118 for log in $$logs; do \ 111 119 $(GREP) -q "Test OK" $$log; \ 112 120 declare -i test_ok=$$?; \
Note: See TracChangeset
for help on using the changeset viewer.