diff --git a/test/makefile b/test/makefile index b56b4d2c..13326e08 100644 --- a/test/makefile +++ b/test/makefile @@ -3,27 +3,27 @@ export TRICK_HOST_CPU := $(shell $(TRICK_HOME)/bin/trick-gte TRICK_HOST_CPU) # List out sims we want to compile COMPILE_DIRS = \ - SIM_demo_sdefine \ - SIM_events \ - SIM_rti \ - SIM_stls \ - SIM_test_dp \ - SIM_test_dr \ - SIM_test_io \ - SIM_test_ip \ - SIM_test_sched \ - SIM_test_templates \ - SIM_threads + SIM_demo_sdefine \ + SIM_events \ + SIM_rti \ + SIM_stls \ + SIM_test_dp \ + SIM_test_dr \ + SIM_test_io \ + SIM_test_ip \ + SIM_test_sched \ + SIM_test_templates \ + SIM_threads SIMS_NEEDING_TEST = \ - SIM_alloc_test \ - SIM_demo_inputfile \ - SIM_measurement_units \ - SIM_test_abstract \ - SIM_test_inherit \ - SIM_test_ip2 \ - SIM_threads_simple \ - SIM_trickcomm + SIM_alloc_test \ + SIM_demo_inputfile \ + SIM_measurement_units \ + SIM_test_abstract \ + SIM_test_inherit \ + SIM_test_ip2 \ + SIM_threads_simple \ + SIM_trickcomm # Sims with problems, no purpose, or maybe shouldn't be a test # SIM_leaks ( should be deleted ) @@ -42,10 +42,16 @@ test: $(EXECUTABLES) $(UNIT_TEST_RESULTS) data_record_results clean: rm -f $(UNIT_TEST_RESULTS) - for i in $(COMPILE_DIRS) ; do \ - if [ -f "$$i/"[Mm]"akefile" ] ; then \ - $(MAKE) -C $$i spotless ; \ - fi \ - done + if [ -f "$$i/"[Mm]"akefile" ] ; then \ + $(MAKE) -C $$i spotless ; \ + fi \ + done + + - for i in $(SIMS_NEEDING_TEST) ; do \ + if [ -f "$$i/"[Mm]"akefile" ] ; then \ + $(MAKE) -C $$i spotless ; \ + fi \ + done $(EXECUTABLES): @ cd $(@D) ; ${TRICK_HOME}/bin/trick-CP -t