Changeset 38152 in vbox for trunk/src/VBox/Disassembler
- Timestamp:
- Jul 25, 2011 12:19:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/testcase/Makefile.kmk
r38082 r38152 96 96 $(VBOX_DISAS_TESTS_BUILD:.asm=-64-disas.asm)) 97 97 98 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_BUILD:.asm=-16-disas.asm)): $$(subst -disas.asm,.bin,$$@) $$( INSTARGET_tstDisasm-2) | $$(dir $$@)98 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_BUILD:.asm=-16-disas.asm)): $$(subst -disas.asm,.bin,$$@) $$(tstDisasm-2_1_STAGE_TARGET) | $$(dir $$@) 99 99 @$(ECHO) "Generating: $(@F) from $(<F)" 100 $(REDIRECT) -E VBOX_LOG_DEST=nofile -o $@ -- $( INSTARGET_tstDisasm-2) --style=yasm --cpumode=16 $<101 102 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_BUILD:.asm=-32-disas.asm)): $$(subst -disas.asm,.bin,$$@) $$( INSTARGET_tstDisasm-2) | $$(dir $$@)100 $(REDIRECT) -E VBOX_LOG_DEST=nofile -o $@ -- $(tstDisasm-2_1_STAGE_TARGET) --style=yasm --cpumode=16 $< 101 102 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_BUILD:.asm=-32-disas.asm)): $$(subst -disas.asm,.bin,$$@) $$(tstDisasm-2_1_STAGE_TARGET) | $$(dir $$@) 103 103 @$(ECHO) "Generating: $(@F) from $(<F)" 104 $(REDIRECT) -E VBOX_LOG_DEST=nofile -o $@ -- $( INSTARGET_tstDisasm-2) --style=yasm --cpumode=32 $<105 106 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_BUILD:.asm=-64-disas.asm)): $$(subst -disas.asm,.bin,$$@) $$( INSTARGET_tstDisasm-2) | $$(dir $$@)104 $(REDIRECT) -E VBOX_LOG_DEST=nofile -o $@ -- $(tstDisasm-2_1_STAGE_TARGET) --style=yasm --cpumode=32 $< 105 106 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_BUILD:.asm=-64-disas.asm)): $$(subst -disas.asm,.bin,$$@) $$(tstDisasm-2_1_STAGE_TARGET) | $$(dir $$@) 107 107 @$(ECHO) "Generating: $(@F) from $(<F)" 108 $(REDIRECT) -E VBOX_LOG_DEST=nofile -o $@ -- $( INSTARGET_tstDisasm-2) --style=yasm --cpumode=64 $<108 $(REDIRECT) -E VBOX_LOG_DEST=nofile -o $@ -- $(tstDisasm-2_1_STAGE_TARGET) --style=yasm --cpumode=64 $< 109 109 110 110 … … 143 143 VBOX_DISAS_TESTS += $(foreach test, $(VBOX_DISAS_TESTS_INVALID:.asm=), $(test)-16.tst $(test)-32.tst $(test)-64.tst) 144 144 145 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_INVALID:.asm=-16.tst)): $$(patsubst %.tst,%.bin,$$@) $$( INSTARGET_tstDisasm-2) | $$(dir $$@)145 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_INVALID:.asm=-16.tst)): $$(patsubst %.tst,%.bin,$$@) $$(tstDisasm-2_1_STAGE_TARGET) | $$(dir $$@) 146 146 @$(ECHO) "TESTING: $(@F) [--undef-op=all]" 147 147 @$(RM) -f $@ 148 $(REDIRECT) -E VBOX_LOG_DEST=nofile -- $( INSTARGET_tstDisasm-2) --undef-op=all --cpumode=16 $<148 $(REDIRECT) -E VBOX_LOG_DEST=nofile -- $(tstDisasm-2_1_STAGE_TARGET) --undef-op=all --cpumode=16 $< 149 149 @$(APPEND) $@ "done" 150 150 @$(ECHO) " PASSED: $(@F) [--undef-op=all]" 151 151 152 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_INVALID:.asm=-32.tst)): $$(patsubst %.tst,%.bin,$$@) $$( INSTARGET_tstDisasm-2) | $$(dir $$@)152 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_INVALID:.asm=-32.tst)): $$(patsubst %.tst,%.bin,$$@) $$(tstDisasm-2_1_STAGE_TARGET) | $$(dir $$@) 153 153 @$(ECHO) "TESTING: $(@F) [--undef-op=all]" 154 154 @$(RM) -f $@ 155 $(REDIRECT) -E VBOX_LOG_DEST=nofile -- $( INSTARGET_tstDisasm-2) --undef-op=all --cpumode=32 $<155 $(REDIRECT) -E VBOX_LOG_DEST=nofile -- $(tstDisasm-2_1_STAGE_TARGET) --undef-op=all --cpumode=32 $< 156 156 @$(APPEND) $@ "done" 157 157 @$(ECHO) " PASSED: $(@F) [--undef-op=all]" 158 158 159 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_INVALID:.asm=-64.tst)): $$(patsubst %.tst,%.bin,$$@) $$( INSTARGET_tstDisasm-2) | $$(dir $$@)159 $(addprefix $(VBOX_DISAS_TEST_OUT_DIR)/, $(VBOX_DISAS_TESTS_INVALID:.asm=-64.tst)): $$(patsubst %.tst,%.bin,$$@) $$(tstDisasm-2_1_STAGE_TARGET) | $$(dir $$@) 160 160 @$(ECHO) "TESTING: $(@F) [--undef-op=all]" 161 161 @$(RM) -f $@ 162 $(REDIRECT) -E VBOX_LOG_DEST=nofile -- $( INSTARGET_tstDisasm-2) --undef-op=all --cpumode=64 $<162 $(REDIRECT) -E VBOX_LOG_DEST=nofile -- $(tstDisasm-2_1_STAGE_TARGET) --undef-op=all --cpumode=64 $< 163 163 @$(APPEND) $@ "done" 164 164 @$(ECHO) " PASSED: $(@F) [--undef-op=all]" … … 167 167 # Generate the rules for the binary tests. 168 168 define def_vbox_disas_binary_rules 169 $(outbase).asm: $(full_binary) $$$$( INSTARGET_tstDisasm-2) | $(VBOX_DISAS_TEST_OUT_DIR)/169 $(outbase).asm: $(full_binary) $$$$(tstDisasm-2_1_STAGE_TARGET) | $(VBOX_DISAS_TEST_OUT_DIR)/ 170 170 @$$(ECHO) "Generating: $$(@F) from $$(<F)" 171 $$(REDIRECT) -E VBOX_LOG_DEST=nofile -o $$@ -- $$( INSTARGET_tstDisasm-2) --style=yasm --cpumode=$(bits) --undef-op=db $$<171 $$(REDIRECT) -E VBOX_LOG_DEST=nofile -o $$@ -- $$(tstDisasm-2_1_STAGE_TARGET) --style=yasm --cpumode=$(bits) --undef-op=db $$< 172 172 173 173 $(outbase).bin + $(outbase).lst: $(outbase).asm
Note:
See TracChangeset
for help on using the changeset viewer.