1 | # $Id: Makefile.kmk 13561 2008-10-24 16:27:26Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the VMM testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | # additional information or have any questions.
|
---|
20 | #
|
---|
21 |
|
---|
22 | SUB_DEPTH = ../../../..
|
---|
23 | include $(KBUILD_PATH)/subheader.kmk
|
---|
24 |
|
---|
25 | #
|
---|
26 | # Target lists.
|
---|
27 | #
|
---|
28 | PROGRAMS += tstVMStructSize tstVMStructGC tstAsmStructs tstAsmStructsGC tstVMM tstVMM-HwAccm tstGlobalConfig tstInstrEmul
|
---|
29 | ifneq ($(KBUILD_TARGET),win)
|
---|
30 | PROGRAMS += tstVMMFork
|
---|
31 | endif
|
---|
32 | ifdef VBOX_WITH_TESTCASES
|
---|
33 | PROGRAMS += tstCFGM tstSSM tstMMHyperHeap tstVMM-2 tstVMREQ tstMicro tstCompiler tstVMMR0CallHost-1
|
---|
34 | ifneq ($(KBUILD_TARGET),l4)
|
---|
35 | PROGRAMS += tstAnimate
|
---|
36 | endif
|
---|
37 | SYSMODS += tstMicroGC
|
---|
38 | endif # VBOX_WITH_TESTCASES
|
---|
39 |
|
---|
40 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
41 | PROGRAMS += tstPDMAsyncCompletion
|
---|
42 | endif
|
---|
43 |
|
---|
44 | # Where we put our temporary files (just for simplicity)
|
---|
45 | VBOX_VMM_TESTCASE_OUT_DIR := $(PATH_TARGET)/VMM
|
---|
46 | BLDDIRS += $(VBOX_VMM_TESTCASE_OUT_DIR)
|
---|
47 |
|
---|
48 | #
|
---|
49 | # We setup two 'other' targets for executing the two structure & alignment
|
---|
50 | # validation testcases. Perhaps a bit hackish, but extremely useful.
|
---|
51 | #
|
---|
52 | ifeq ($(KBUILD_TARGET),$(KBUILD_HOST))
|
---|
53 | ifeq ($(filter-out x86.x86 amd64.amd64 x86.amd64, $(KBUILD_TARGET_ARCH).$(KBUILD_HOST_ARCH)),)
|
---|
54 | OTHERS += \
|
---|
55 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructs.run \
|
---|
56 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstVMStructSize.run \
|
---|
57 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstInstrEmul.run
|
---|
58 | endif
|
---|
59 | endif
|
---|
60 |
|
---|
61 | # The normal testing pass.
|
---|
62 | TESTING += \
|
---|
63 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructs.run \
|
---|
64 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstVMStructSize.run \
|
---|
65 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstInstrEmul.run
|
---|
66 |
|
---|
67 | OTHER_CLEAN += \
|
---|
68 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructs.run \
|
---|
69 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstVMStructSize.run \
|
---|
70 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstInstrEmul.run \
|
---|
71 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructs.h \
|
---|
72 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsAsm.o \
|
---|
73 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsAsm.mac \
|
---|
74 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsAsm.mac.o \
|
---|
75 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsAsm.mac.lst \
|
---|
76 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructs.h.dump \
|
---|
77 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsGC.h \
|
---|
78 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsHC.h \
|
---|
79 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstVMStructGC.h
|
---|
80 |
|
---|
81 | #
|
---|
82 | # Globals
|
---|
83 | #
|
---|
84 | VBOX_PATH_VMM_SRC = $(PATH_ROOT)/src/VBox/VMM
|
---|
85 |
|
---|
86 | #
|
---|
87 | # Targets
|
---|
88 | #
|
---|
89 | tstVMStructGC_TEMPLATE = VBOXGCEXE
|
---|
90 | tstVMStructGC_DEFS = IN_VMM_RC IN_DIS IN_RT_RC IN_RT_GC
|
---|
91 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
92 | tstVMStructGC_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
93 | endif
|
---|
94 | tstVMStructGC_SOURCES = tstVMStructGC.cpp
|
---|
95 | tstVMStructGC_INCS = $(VBOX_PATH_VMM_SRC) $(VBOX_PATH_VMM_SRC)/PATM
|
---|
96 |
|
---|
97 | tstVMStructSize_TEMPLATE= VBOXR3AUTOTST
|
---|
98 | tstVMStructSize_DEFS = IN_VMM_R3 IN_DIS
|
---|
99 | tstVMStructSize_INCS = $(VBOX_PATH_VMM_SRC) $(VBOX_PATH_VMM_SRC)/PATM $(VBOX_VMM_TESTCASE_OUT_DIR)
|
---|
100 | tstVMStructSize_SOURCES = tstVMStructSize.cpp
|
---|
101 | tstVMStructSize.cpp_DEPS= $(VBOX_VMM_TESTCASE_OUT_DIR)/tstVMStructGC.h
|
---|
102 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
103 | tstVMStructSize_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
104 | endif
|
---|
105 | ifdef VBOX_WITH_VMI
|
---|
106 | tstVMStructSize_DEFS += VBOX_WITH_VMI
|
---|
107 | tstVMStructSize_INCS += $(VBOX_PATH_VMM_SRC)/PARAV
|
---|
108 | endif
|
---|
109 |
|
---|
110 | tstAsmStructs_TEMPLATE = VBOXR3AUTOTST
|
---|
111 | tstAsmStructs_DEFS = IN_VMM_R3 IN_DIS
|
---|
112 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
113 | tstAsmStructs_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
114 | endif
|
---|
115 | tstAsmStructs_INCS = $(VBOX_PATH_VMM_SRC) $(VBOX_VMM_TESTCASE_OUT_DIR)
|
---|
116 | tstAsmStructs_SOURCES = tstAsmStructs.cpp
|
---|
117 |
|
---|
118 | tstAsmStructsGC_TEMPLATE= VBOXGCEXE
|
---|
119 | tstAsmStructsGC_DEFS = IN_VMM_RC IN_DIS IN_RT_RC IN_RT_GC
|
---|
120 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
121 | tstAsmStructsGC_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
122 | endif
|
---|
123 | tstAsmStructsGC_INCS = $(VBOX_PATH_VMM_SRC) $(VBOX_VMM_TESTCASE_OUT_DIR)
|
---|
124 | tstAsmStructsGC_SOURCES = tstAsmStructs.cpp
|
---|
125 |
|
---|
126 | tstAsmStructs.cpp_DEPS = $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsHC.h $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsGC.h
|
---|
127 |
|
---|
128 |
|
---|
129 | tstGlobalConfig_TEMPLATE= VBOXR3TSTEXE
|
---|
130 | tstGlobalConfig_SOURCES = tstGlobalConfig.cpp
|
---|
131 | tstGlobalConfig_LIBS = $(LIB_RUNTIME)
|
---|
132 |
|
---|
133 | tstMMHyperHeap_TEMPLATE = VBOXR3TSTEXE
|
---|
134 | tstMMHyperHeap_SOURCES = tstMMHyperHeap.cpp
|
---|
135 | tstMMHyperHeap_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
136 |
|
---|
137 | tstSSM_TEMPLATE = VBOXR3TSTEXE
|
---|
138 | tstSSM_SOURCES = tstSSM.cpp
|
---|
139 | tstSSM_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
140 |
|
---|
141 | tstInstrEmul_TEMPLATE = VBOXR3TSTEXE
|
---|
142 | tstInstrEmul_SOURCES = tstInstrEmul.cpp \
|
---|
143 | ../VMMAll/EMAllA.asm
|
---|
144 |
|
---|
145 | tstInstrEmul_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
146 |
|
---|
147 | tstCFGM_TEMPLATE = VBOXR3TSTEXE
|
---|
148 | tstCFGM_SOURCES = tstCFGM.cpp
|
---|
149 | tstCFGM_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
150 |
|
---|
151 | tstVMM_TEMPLATE = VBOXR3EXE
|
---|
152 | tstVMM_SOURCES = tstVMM.cpp
|
---|
153 | tstVMM_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
154 |
|
---|
155 | tstVMM-HwAccm_TEMPLATE = VBOXR3EXE
|
---|
156 | tstVMM-HwAccm_SOURCES = tstVMM-HwAccm.cpp
|
---|
157 | tstVMM-HwAccm_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
158 |
|
---|
159 | tstVMMFork_TEMPLATE = VBOXR3EXE
|
---|
160 | tstVMMFork_SOURCES = tstVMMFork.cpp
|
---|
161 | tstVMMFork_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
162 |
|
---|
163 | tstVMM-2_TEMPLATE = VBOXR3EXE
|
---|
164 | tstVMM-2_SOURCES = tstVMM-2.cpp
|
---|
165 | tstVMM-2_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
166 |
|
---|
167 | tstVMMR0CallHost-1_TEMPLATE = VBOXR3EXE
|
---|
168 | tstVMMR0CallHost-1_INCS = $(VBOX_PATH_VMM_SRC)
|
---|
169 | tstVMMR0CallHost-1_SOURCES = \
|
---|
170 | tstVMMR0CallHost-1.cpp \
|
---|
171 | $(VBOX_PATH_VMM_SRC)/VMMR0/VMMR0A.asm
|
---|
172 | tstVMMR0CallHost-1_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
173 |
|
---|
174 | tstVMREQ_TEMPLATE = VBOXR3EXE
|
---|
175 | tstVMREQ_SOURCES = tstVMREQ.cpp
|
---|
176 | tstVMREQ_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
177 |
|
---|
178 | tstAnimate_TEMPLATE = VBOXR3EXE
|
---|
179 | tstAnimate_SOURCES = tstAnimate.cpp
|
---|
180 | tstAnimate_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
181 |
|
---|
182 | tstCompiler_TEMPLATE = VBOXR3TSTEXE
|
---|
183 | tstCompiler_SOURCES = tstCompiler.cpp
|
---|
184 | tstCompiler_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
185 |
|
---|
186 | tstMicro_TEMPLATE = VBOXR3EXE
|
---|
187 | tstMicro_SOURCES = tstMicro.cpp
|
---|
188 | tstMicro_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
189 |
|
---|
190 | # tstMicroGC.gc
|
---|
191 | tstMicroGC_TEMPLATE = VBOXGC
|
---|
192 | tstMicroGC_SOURCES = tstMicroGC.cpp tstMicroGCA.asm
|
---|
193 | tstMicroGC_DEFS =
|
---|
194 | tstMicroGC_INCS = $(VBOX_PATH_VMM_SRC)/testcase
|
---|
195 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
196 | tstMicroGC_LDFLAGS = -Entry:tstMicroGC
|
---|
197 | endif
|
---|
198 | tstMicroGC_SYSSUFF = .gc
|
---|
199 | tstMicroGC_LIBS = \
|
---|
200 | $(PATH_LIB)/DisasmGC$(VBOX_SUFF_LIB) \
|
---|
201 | $(PATH_LIB)/RuntimeGC$(VBOX_SUFF_LIB)
|
---|
202 | ifeq ($(filter-out pe lx,$(VBOX_LDR_FMT32)),)
|
---|
203 | tstMicroGC_LIBS += \
|
---|
204 | $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
|
---|
205 | $(LIB_VMMGC)
|
---|
206 | endif
|
---|
207 | tstMicroGC_SOURCES.win = tstMicroGC.def
|
---|
208 |
|
---|
209 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
210 | tstPDMAsyncCompletion_TEMPLATE = VBOXR3EXE
|
---|
211 | tstPDMAsyncCompletion_SOURCES = tstPDMAsyncCompletion.cpp
|
---|
212 | tstPDMAsyncCompletion_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
|
---|
213 | endif
|
---|
214 |
|
---|
215 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
216 |
|
---|
217 |
|
---|
218 |
|
---|
219 | #
|
---|
220 | # Some handcrafted support targets for tstAsmStructs.
|
---|
221 | #
|
---|
222 |
|
---|
223 | ifeq ($(KBUILD_HOST),win)
|
---|
224 | ifndef TOOL_MINGW32
|
---|
225 | include $(KBUILD_PATH)/tools/MINGW32.kmk
|
---|
226 | endif
|
---|
227 | VBOX_NM ?= $(PATH_TOOL_MINGW32)/bin/nm.exe -p
|
---|
228 | else
|
---|
229 | VBOX_NM ?= nm -p
|
---|
230 | endif
|
---|
231 |
|
---|
232 | MY_ASA_ASM_STUFF = \
|
---|
233 | $(addprefix -D, \
|
---|
234 | $(DEFS) \
|
---|
235 | $(DEFS.$(KBUILD_TYPE)) \
|
---|
236 | $(DEFS.$(KBUILD_TARGET)) \
|
---|
237 | IN_RING3 $(ARCH_BITS_DEFS) \
|
---|
238 | $(DEFS.$(KBUILD_TARGET_ARCH)) \
|
---|
239 | $(DEFS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) \
|
---|
240 | ) \
|
---|
241 | -f $(if $(eq $(KBUILD_TARGET),darwin),macho,elf) \
|
---|
242 | $(foreach inc,$(INCS) $(VBOX_PATH_VMM_SRC)/testcase $(VBOX_VMM_TESTCASE_OUT_DIR),-I$(inc)/)
|
---|
243 |
|
---|
244 | # 1a. make a header file which makes all the structures+members globals.
|
---|
245 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsAsm.mac: \
|
---|
246 | $(VBOX_PATH_VMM_SRC)/testcase/tstAsmStructsAsm.asm \
|
---|
247 | $(VBOX_PATH_VMM_SRC)/testcase/tstAsmStructsAsm-lst.sed \
|
---|
248 | $(DEPTH)/include/iprt/asmdefs.mac \
|
---|
249 | $(DEPTH)/include/VBox/cpum.mac \
|
---|
250 | $(DEPTH)/include/VBox/sup.mac \
|
---|
251 | $(DEPTH)/include/VBox/vm.mac \
|
---|
252 | $(VBOX_PATH_VMM_SRC)/CPUMInternal.mac \
|
---|
253 | $(VBOX_PATH_VMM_SRC)/TRPMInternal.mac \
|
---|
254 | $(VBOX_PATH_VMM_SRC)/VMMInternal.mac \
|
---|
255 | $(VBOX_PATH_VMM_SRC)/testcase/Makefile.kmk \
|
---|
256 | $(PATH_ROOT)/Config.kmk $(LOCALCFG) $(AUTOCFG) \
|
---|
257 | | $$(dir $$@)
|
---|
258 | $(call MSG_GENERATE,tstVMStructSize,$@,$<)
|
---|
259 | ifndef DONT_USE_YASM
|
---|
260 | $(QUIET)$(TOOL_YASM_AS) $(MY_ASA_ASM_STUFF) -o [email protected] -l [email protected] $<
|
---|
261 | $(SED) -f $(VBOX_PATH_VMM_SRC)/testcase/tstAsmStructsAsm-lst.sed --output $@ [email protected]
|
---|
262 | else
|
---|
263 | $(QUIET)$(TOOL_NASM_AS) -g $(MY_ASA_ASM_STUFF) -o [email protected] -l [email protected] $<
|
---|
264 | $(VBOX_NM) [email protected] | $(SED) \
|
---|
265 | -e '/[0-9a-fA-F][0-9a-fA-F]* [^a] /d' \
|
---|
266 | -e 's/[0-9a-fA-F][0-9a-fA-F]* a \([^ ]*\)/global \1/' \
|
---|
267 | > $@
|
---|
268 | endif
|
---|
269 |
|
---|
270 | # 1b. make an elf/macho object containing the offsets.
|
---|
271 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsAsm.o: \
|
---|
272 | $(VBOX_PATH_VMM_SRC)/testcase/tstAsmStructsAsm.asm \
|
---|
273 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsAsm.mac \
|
---|
274 | $(VBOX_PATH_VMM_SRC)/testcase/Makefile.kmk \
|
---|
275 | | $$(dir $$@)
|
---|
276 | $(call MSG_COMPILE,tstAsmStructsasm,$<,$@,AS)
|
---|
277 | ifndef DONT_USE_YASM
|
---|
278 | $(QUIET)$(TOOL_YASM_AS) $(MY_ASA_ASM_STUFF) -DDO_GLOBALS -o $@ $<
|
---|
279 | else
|
---|
280 | $(QUIET)$(TOOL_NASM_AS) $(MY_ASA_ASM_STUFF) -DDO_GLOBALS -o $@ $<
|
---|
281 | endif
|
---|
282 |
|
---|
283 | # 2. use nm and sed to transform this into the header we want.
|
---|
284 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsHC.h: $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsAsm.o
|
---|
285 | $(call MSG_GENERATE,tstVMStructSize,$@,$<)
|
---|
286 | $(QUIET)$(RM) -f $@ [email protected] [email protected]
|
---|
287 | $(QUIET)$(REDIRECT) -wo [email protected] -- $(VBOX_NM) $<
|
---|
288 | $(QUIET)$(SED) -e '/STAMPROFILEADV/d' \
|
---|
289 | -e '/00[0-9a-fA-F]* [aA] [^_.]*\./!d' -e 's/\(00[0-9a-fA-F]*\) [aA] \([^.]*\)\.\(.*$$\)/ CHECK_OFF(\2, 0x0\1, \3);/' \
|
---|
290 | --output [email protected] [email protected]
|
---|
291 | $(QUIET)$(SED) -e '/VM_size$$/d' \
|
---|
292 | -e '/00[0-9a-fA-F]* [aA] [^_.]*_size$$/!d' -e 's/\(00[0-9a-fA-F]*\) [aA] \([^_.]*\)_size/ CHECK_SIZE(\2, 0x0\1);/' \
|
---|
293 | --append [email protected] [email protected]
|
---|
294 | $(QUIET)$(MV) -f [email protected] $@
|
---|
295 | $(QUIET)$(RM) -f [email protected]
|
---|
296 |
|
---|
297 | # 3. transform the HC header into a GC one by omitting some HC only structures.
|
---|
298 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsGC.h: $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsHC.h
|
---|
299 | $(call MSG_GENERATE,tstVMStructSize,$@,$<)
|
---|
300 | $(QUIET)$(SED) -e '/VMMSWITCHERDEF/d' --output $@ $^
|
---|
301 |
|
---|
302 | ## @todo make this default kBuild behaviour.
|
---|
303 | .SECONDEXPANSION:
|
---|
304 |
|
---|
305 | # 4. run it.
|
---|
306 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructs.run: $$(INSTARGET_tstAsmStructs) $$(INSTARGET_tstAsmStructsGC)
|
---|
307 | $(QUIET)$(RM) -f $@
|
---|
308 | $(INSTARGET_tstAsmStructs)
|
---|
309 | $(INSTARGET_tstAsmStructsGC)
|
---|
310 | $(QUIET)$(APPEND) "$@" "done"
|
---|
311 |
|
---|
312 |
|
---|
313 |
|
---|
314 | #
|
---|
315 | # Run rule for tstVMStructSize.
|
---|
316 | #
|
---|
317 |
|
---|
318 | # 1. Manually dump selected structures and members.
|
---|
319 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstVMStructGC.h: $$(INSTARGET_tstVMStructGC) | $$(dir $$@)
|
---|
320 | $(call MSG_GENERATE,tstVMStructSize,$@)
|
---|
321 | $(QUIET)$(REDIRECT) -wo $@ -- $<
|
---|
322 |
|
---|
323 | # 2. run it.
|
---|
324 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstVMStructSize.run: $$(INSTARGET_tstVMStructSize) | $$(dir $$@)
|
---|
325 | $(QUIET)$(RM) -f $@
|
---|
326 | $<
|
---|
327 | $(QUIET)$(APPEND) "$@" "done"
|
---|
328 |
|
---|
329 | # alias for the two struct tests.
|
---|
330 | run-struct-tests: $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructs.run $(VBOX_VMM_TESTCASE_OUT_DIR)/tstVMStructSize.run
|
---|
331 |
|
---|
332 |
|
---|
333 | #
|
---|
334 | # Run rule for tstInstrEmul.
|
---|
335 | #
|
---|
336 | $(VBOX_VMM_TESTCASE_OUT_DIR)/tstInstrEmul.run: $$(INSTARGET_tstInstrEmul)
|
---|
337 | $(QUIET)$(RM) -f $@
|
---|
338 | $(INSTARGET_tstInstrEmul)
|
---|
339 | $(QUIET)$(APPEND) "$@" "done"
|
---|