Changeset 1190 in vbox for trunk/src/VBox/Runtime/testcase
- Timestamp:
- Mar 4, 2007 8:42:13 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19113
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/Makefile
r915 r1190 68 68 tstLdrObj \ 69 69 tstLdrObjR0 70 ifeq ($(filter-out lx pe,$(VBOX_LDR_FMT)), ) 71 LIBRARIES += \ 72 tstLdr-4Imp 73 endif 74 70 75 # tstSems 71 76 endif # VBOX_WITH_TESTCASES … … 159 164 $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB) 160 165 166 tstLdr-4Imp_TEMPLATE = VBOXR0 167 ifeq ($(VBOX_LDR_FMT),lx) 168 tstLdr-4Imp_SOURCES = tstLdr-4Imp-os2.def 169 else ifeq ($(VBOX_LDR_FMT),pe) 170 tstLdr-4Imp_SOURCES.win = tstLdr-4Imp-win.def 171 endif 172 161 173 tstLdrObjR0_TEMPLATE = VBOXR0 162 174 tstLdrObjR0_INST = $(INST_TESTCASE) … … 173 185 tstLdrObjR0_LDFLAGS = -Entry:Entrypoint 174 186 tstLdrObjR0_LIBS += \ 175 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB) 187 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB) \ 188 $(TARGET_tstLdr-4Imp) 176 189 endif 177 190 ifeq ($(VBOX_LDR_FMT),elf) … … 180 193 ifeq ($(VBOX_LDR_FMT),lx) 181 194 tstLdrObjR0_LIBS += \ 182 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB) 195 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB) \ 196 $(TARGET_tstLdr-4Imp) 183 197 endif 184 198 -
trunk/src/VBox/Runtime/testcase/tstLdr-4.cpp
r917 r1190 158 158 if (RT_FAILURE(rc)) 159 159 { 160 RTPrintf("tstLdr-4: Failed to get symbol \" Test1\" from load #%d: %Rrc\n", i, rc);160 RTPrintf("tstLdr-4: Failed to get symbol \"DisasmTest1\" from load #%d: %Rrc\n", i, rc); 161 161 cErrors++; 162 162 break; -
trunk/src/VBox/Runtime/testcase/tstLdrDisasmTest.cpp
r919 r1190 34 34 #include <iprt/string.h> 35 35 36 #if defined(IN_RING0) && !defined(__WIN__) && !defined(__OS2__)/* Too lazy to make import libs. */36 #if defined(IN_RING0) && !defined(__WIN__) /* Too lazy to make import libs. */ 37 37 extern "C" DECLIMPORT(int) MyPrintf(const char *pszFormat, ...); 38 38 # define MY_PRINTF(a) MyPrintf a
Note:
See TracChangeset
for help on using the changeset viewer.