Changeset 101 for trunk/Platforms
- Timestamp:
- Jan 15, 2009, 6:19:08 PM (16 years ago)
- Location:
- trunk/Platforms/Test
- Files:
-
- 22 deleted
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Platforms/Test/Makefile
r98 r101 35 35 DIR_OBJ = $(DIR_TMP)/obj 36 36 DIR_BIN = $(DIR_TMP)/bin 37 DIR_LOG = ./log37 DIR_LOG = $(DIR_TMP)/log 38 38 DIR_DATA = ./data 39 39 DIR_SOFT = $(MORPHEO_TOPLEVEL)/Softwares … … 115 115 fi; \ 116 116 $(MAKE) $$logs; \ 117 declare -i have_test_ko=0; \ 117 declare -i nb_test=0; \ 118 declare -i nb_test_ko=0; \ 118 119 for log in $$logs; do \ 119 120 $(GREP) -q "Test OK" $$log; \ … … 122 123 declare -i test_ko=$$?; \ 123 124 if $(TEST) $$test_ko -eq 0 -o $$test_ok -ne 0; \ 124 then have_test_ko=1;\125 then nb_test_ko=$$(($${nb_test_ko} + 1)); \ 125 126 fi; \ 127 nb_test=$$(($${nb_test} + 1)); \ 126 128 done; \ 127 if $(TEST) $$ have_test_ko-ne 0; \128 then $(ECHO) "-------------------| Test KO "; exit 1; \129 if $(TEST) $${nb_test_ko} -ne 0; \ 130 then $(ECHO) "-------------------| Test KO !!! ($${nb_test_ko}/$${nb_test})"; exit 1; \ 129 131 else $(ECHO) "-------------------| Test OK"; exit 0; \ 130 132 fi; 131 133 132 134 execute : run 133 134 135 135 136 $(DIR_LOG)/%.log : %.cfg … … 146 147 declare timing=$$($(GREP) -h "Timing" $$log); \ 147 148 if $(TEST) $$test_ko -ne 0 -a $$test_ok -eq 0; \ 148 then $(ECHO) -e " $$file ... OK\t$$timing"; \ 149 else $(ECHO) -e " $$file ... KO\t$$timing"; \ 150 have_test_ko=1; \ 149 then $(ECHO) -e " $$file ... OK \t$$timing"; \ 150 else $(ECHO) -e " $$file ... KO !!!\t$$timing"; \ 151 151 fi; \ 152 152 -
trunk/Platforms/Test/data/Test_000_000.cfg
r98 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_000/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_001.cfg
r98 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_001/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_002.cfg
r98 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_002/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_003.cfg
r98 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_003/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_004.cfg
r98 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_004/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_005.cfg
r98 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_005/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_006.cfg
r98 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_006/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_007.cfg
r98 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_007/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_008.cfg
r98 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_008/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_009.cfg
r98 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_009/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_010.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_010/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_011.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_011/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_012.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_012/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_013.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_013/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_014.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_014/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_015.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_015/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_016.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_016/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_017.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_017/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_018.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_018/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_019.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_019/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_020.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_020/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_021.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_021/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_022.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_022/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_023.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_023/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_024.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_024/bin/soft.x 5 5 0 -
trunk/Platforms/Test/data/Test_000_025.cfg
r100 r101 1 1 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.sim 2 2 ../../IPs/systemC/processor/Morpheo/Files/Morpheo.gen 3 ../../IPs/systemC/processor/Morpheo/Files/Instance_ min.cfg3 ../../IPs/systemC/processor/Morpheo/Files/Instance_debug.cfg 4 4 ../../Softwares/Test/Test_025/bin/soft.x 5 5 0 -
trunk/Platforms/Test/src/test.cpp
r88 r101 240 240 segtable->setDefaultTarget(0,0); 241 241 242 // Add a segment ,name ,address of base ,size ,global index,local index,uncache 243 segtable->addSegment("text" ,TEXT_BASE ,TEXT_SIZE ,0 ,0 ,false); 244 segtable->addSegment("data" ,DATA_CACHED_BASE ,DATA_CACHED_SIZE ,0 ,0 ,false); 245 segtable->addSegment("data_unc",DATA_UNCACHED_BASE,DATA_UNCACHED_SIZE,0 ,0 ,true ); 242 // Add a segment ,name ,address of base ,size ,global index,local index,uncache 243 segtable->addSegment("text" ,TEXT_BASE ,TEXT_SIZE ,0 ,0 ,false); 244 segtable->addSegment("data" ,DATA_CACHED_BASE ,DATA_CACHED_SIZE ,0 ,0 ,false); 245 segtable->addSegment("data_stack" ,DATA_STACK_BASE ,DATA_STACK_SIZE ,0 ,0 ,false); 246 segtable->addSegment("data_unc" ,DATA_UNCACHED_BASE,DATA_UNCACHED_SIZE,0 ,0 ,true ); 246 247 247 248 Parameters * param_environment = new Parameters
Note: See TracChangeset
for help on using the changeset viewer.