VirtualBox

Ignore:
Timestamp:
Feb 10, 2023 3:10:50 PM (2 years ago)
Author:
vboxsync
Message:

Guest Control: Initial commit (work in progress, disabled by default). bugref:9783

IGuestDirectory:

Added new attributes id + status + an own event source. Also added for rewind support via rewind().

New event types for guest directory [un]registration, state changes and entry reads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestControl/testcase/Makefile.kmk

    r98415 r98526  
    3131if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
    3232
     33 #
     34 # Testcase which mocks HGCM to also test the VbglR3-side of Guest Control.
     35 #
     36 # Goal is to use and test as much guest side code as possible as a self-contained
     37 # binary on the host here.
     38 #
     39 # Note: No #ifdef TESTCASE hacks or similar allowed, has to run
     40 #       without #ifdef modifications to the core code!
     41 #
     42 PROGRAMS += tstGuestControlMockHGCM
     43
     44 tstGuestControlMockHGCM_TEMPLATE = VBoxR3TstExe
     45 tstGuestControlMockHGCM_DEFS     = VBOX_WITH_HGCM VBOX_WITH_GUEST_CONTROL
     46 tstGuestControlMockHGCM_SOURCES  = \
     47        ../VBoxGuestControlSvc.cpp \
     48        $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp \
     49        $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibMisc.cpp \
     50        $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3Lib.cpp \
     51        $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGR.cpp \
     52        $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \
     53        tstGuestControlMockHGCM.cpp
     54 tstGuestControlMockHGCM_LIBS     = $(LIB_RUNTIME)
     55 tstGuestControlMockHGCM_CLEAN    = $(tstGuestControlMockHGCM_0_OUTDIR)/tstGuestControlMockHGCM.run
     56
     57 if 0 # Enable this if you want automatic runs after compilation.
     58  $$(tstGuestControlMockHGCM_0_OUTDIR)/tstGuestControlMockHGCM.run: $$(tstGuestControlMockHGCM_1_STAGE_TARGET)
     59        export VBOX_LOG_DEST=nofile; $(tstGuestControlMockHGCM_1_STAGE_TARGET) quiet
     60        $(QUIET)$(APPEND) -t "$@" "done"
     61  OTHERS += $(tstGuestControlMockHGCM_0_OUTDIR)/tstGuestControlMockHGCM.run
     62 endif
     63
     64
    3365 # Set this in LocalConfig.kmk if you are working on the guest property
    3466 # service to automatically run the testcase at build time.
     
    5385endif
    5486
     87#
     88# List of above testcases that will be included in the ValKit.
     89#
     90ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING
     91 if1of ($(KBUILD_TARGET), linux solaris win)
     92  VALKIT_UNITTESTS_WHITELIST_GUEST_ADDITIONS += \
     93        tstGuestControlMockHGCM
     94 endif
     95endif # VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING
     96
    5597include $(FILE_KBUILD_SUB_FOOTER)
    56 
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