Changeset 97 for trunk/Platforms


Ignore:
Timestamp:
Dec 19, 2008, 4:34:00 PM (16 years ago)
Author:
rosiere
Message:

1) Update Prediction Table : statistics
2) Size instruction address on 30 bits
3) Change Log File
4) Add debug_level in simulation configuration file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Platforms/Test/Makefile

    r88 r97  
    5858OBJECTS                         =       $(patsubst $(DIR_SRC)/%.cpp,$(DIR_OBJ)/%.o,$(wildcard $(DIR_SRC)/*.cpp))
    5959LOGS                            =       $(patsubst $(DIR_DATA)/%.cfg,$(DIR_LOG)/%.log,$(wildcard $(DIR_DATA)/*.cfg))
     60DEBUG_CFG                       =       $(DIR_DATA)/debug.cfg
     61DEBUG_LOG                       =       $(DIR_LOG)/debug.log
    6062
    6163EXEC                            =       $(DIR_BIN)/soft.x
     
    106108run                             : $(DIR_LOG) all
    107109                                @\
    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;                                         \
    109117                                declare -i have_test_ko=0;                              \
    110                                 for log in $(LOGS); do                                  \
     118                                for log in $$logs; do                                   \
    111119                                        $(GREP) -q "Test OK" $$log;                     \
    112120                                        declare -i test_ok=$$?;                         \
Note: See TracChangeset for help on using the changeset viewer.