ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# $Id$
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync## @file
5b70201b19671de724afb22863f2043cd2b271efvboxsync# Sub-Makefile for the Guest Properties Host Service testcases.
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
772269936494ffaddd0750ba9e28e805ba81398cvboxsync# Copyright (C) 2006-2012 Oracle Corporation
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# available from http://www.virtualbox.org. This file is free software;
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# you can redistribute it and/or modify it under the terms of the GNU
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# General Public License (GPL) as published by the Free Software
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync#
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
b143a7b913cb5c0e5e449f802dc1134b23e2eacavboxsyncSUB_DEPTH = ../../../../..
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsyncinclude $(KBUILD_PATH)/subheader.kmk
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsyncif defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync # Set this in LocalConfig.kmk if you are working on the guest property
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync # service to automatically run the testcase at build time.
bbc0a3fc49446bf8fa1fcfe669c10875701692bcvboxsync # OTHERS += $(tstGuestPropSvc_0_OUTDIR)/tstGuestPropSvc.run
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync #
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync PROGRAMS += tstGuestPropSvc
bbc0a3fc49446bf8fa1fcfe669c10875701692bcvboxsync TESTING += $(tstGuestPropSvc_0_OUTDIR)/tstGuestPropSvc.run
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync tstGuestPropSvc_TEMPLATE = VBOXR3TSTEXE
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync # The second define here is to ensure that the testcase will run fast,
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync # without waiting for any thread synchronisation.
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync tstGuestPropSvc_DEFS = VBOX_WITH_HGCM VBOX_GUEST_PROP_TEST_NOTHREAD
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync tstGuestPropSvc_SOURCES = tstGuestPropSvc.cpp ../service.cpp
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync tstGuestPropSvc_LIBS = $(LIB_RUNTIME)
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsync
6144154d0dabfabf32622da8f5f8afc82f31e763vboxsync$$(tstGuestPropSvc_0_OUTDIR)/tstGuestPropSvc.run: $$(tstGuestPropSvc_1_STAGE_TARGET)
6144154d0dabfabf32622da8f5f8afc82f31e763vboxsync export VBOX_LOG_DEST=nofile; $(tstGuestPropSvc_1_STAGE_TARGET) quiet
a5b0b691c49d35639207d4539753eaebf3f05275vboxsync $(QUIET)$(APPEND) -t "$@" "done"
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
c0d42b3cb1528dba30ecac910e9bda2b60dd0852vboxsyncendif
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync
772269936494ffaddd0750ba9e28e805ba81398cvboxsyncinclude $(FILE_KBUILD_SUB_FOOTER)
ba5dd00fabaa3475fa5da200d134c73f1c961b49vboxsync