Changeset 128 for trunk/Platforms/Test/Makefile
- Timestamp:
- Jun 26, 2009, 10:43:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Platforms/Test/Makefile
r127 r128 75 75 LOGS = $(patsubst $(PATH_DATA)/%.cfg,$(PATH_LOG)/%.log,$(wildcard $(PATH_DATA)/$(DATA)/*.cfg)) 76 76 EXEC = $(PATH_BIN)/soft.x 77 EXEC_PREFIX = $(NICE) -n $(PRIORITY) 77 EXEC_PREFIX = $(NICE) -n $(PRIORITY) 78 78 #$(VALGRIND) 79 EXEC_PARAMS = $(SYSTEMC_EXEC_PARAMS_$(SIMULATOR_SYSTEMC)) 79 80 80 81 SCRIPT = make.sh … … 143 144 $(RM) $(PATH_LOG)/$(DATA); \ 144 145 fi; \ 145 $(MAKE) $(PATH_LOGS); \146 146 declare logs="$(LOGS)"; \ 147 147 $(MAKE) $${logs}; \ … … 182 182 fi; \ 183 183 $(ECHO) "$(MAKE) -C "'$${path}'" $${log} PRIORITY=$(PRIORITY);" >> $(SCRIPT); \ 184 done 185 186 $(PATH_LOG)/%.log : $(PATH_DATA)/%.cfg $(EXEC) 184 done; \ 185 $(CHMOD) +x $(SCRIPT); 186 187 $(PATH_LOG)/%.log : $(PATH_DATA)/%.cfg $(EXEC) $(PATH_LOGS) 187 188 @\ 188 189 file=$$($(BASENAME) $<); \ … … 190 191 log=$@; \ 191 192 $(ECHO) "Run : $*"; \ 192 $(EXEC_PREFIX) $(EXEC) $ ${data} &> $$log; \193 $(EXEC_PREFIX) $(EXEC) $(EXEC_PARAMS) $${data} &> $$log; \ 193 194 $(GREP) -q "Test OK" $$log; \ 194 195 declare -i test_ok=$$?; \
Note: See TracChangeset
for help on using the changeset viewer.