VirtualBox

Ignore:
Timestamp:
Oct 23, 2017 11:10:23 AM (7 years ago)
Author:
vboxsync
Message:

Devices/testcase: Skeleton for PDM device unit test framework, disabled by default (for backup purposes and to move more easily between hosts)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Makefile.kmk

    r68748 r69162  
    13361336 endif
    13371337
     1338 #
     1339 # PDM device testcase framework.
     1340 #
     1341 ifdef VBOX_WITH_TESTCASES_TSTDEV
     1342  DLLS += tstDeviceVBoxVMMStubs
     1343  tstDeviceVBoxVMMStubs_TEMPLATE      = VBoxR3DllNoPic
     1344  tstDeviceVBoxVMMStubs_SONAME.linux  = tstDeviceVBoxVMMStubs.so
     1345  tstDeviceVBoxVMMStubs_SONAME.darwin = tstDeviceVBoxVMMStubs.dylib
     1346  tstDeviceVBoxVMMStubs_DEFS          = IN_VMM_R3 IN_DIS IN_GMM_R3 IN_DBG $(VMM_COMMON_DEFS)
     1347  tstDeviceVBoxVMMStubs_LIBS          = $(LIB_RUNTIME)
     1348
     1349  tstDeviceVBoxVMMStubs_SOURCES  = \
     1350        testcase/tstDeviceVMMStubs.cpp
     1351
     1352  PROGRAMS += tstDevice
     1353  tstDevice_TEMPLATE    = VBOXR3TSTEXE
     1354  tstDevice_LIBS.linux  = $(PATH_STAGE_BIN)/tstDeviceVBoxVMMStubs.so
     1355  tstDevice_LIBS.darwin = $(PATH_STAGE_BIN)/tstDeviceVBoxVMMStubs.dylib
     1356  # Required on OS X to prevent resolving symbols in the real VBoxVMM.dylib when VBoxDD.dylib is loaded
     1357  tstDevice_LDFLAGS.darwin += -force_flat_namespace
     1358  tstDevice_SOURCES     = \
     1359        testcase/tstDevice.cpp \
     1360        testcase/tstDevicePdmDevHlp.cpp \
     1361        testcase/tstDeviceVMM.cpp
     1362 endif
     1363
    13381364endif # !VBOX_ONLY_EXTPACKS
    13391365
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette