VirtualBox

source: vbox/trunk/src/VBox/Devices/Audio/testcase/Makefile.kmk@ 103914

Last change on this file since 103914 was 98410, checked in by vboxsync, 22 months ago

Devices/*.kmk: Automatic scm cleanups. bugref:10348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
Line 
1# $Id: Makefile.kmk 98410 2023-02-01 16:20:10Z vboxsync $
2## @file
3# Sub-Makefile for the audio testcases.
4#
5
6#
7# Copyright (C) 2014-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
32
33 PROGRAMS += tstAudioMixBuffer
34 TESTING += $(tstAudioMixBuffer_0_OUTDIR)/tstAudioMixBuffer.run
35
36 tstAudioMixBuffer_TEMPLATE = VBoxR3TstExe
37 tstAudioMixBuffer_DEFS = TESTCASE VBOX_AUDIO_MIX_BUFFER_TESTCASE
38 tstAudioMixBuffer_DEFS.debug = VBOX_WITH_EF_WRAPS
39 tstAudioMixBuffer_SOURCES = \
40 tstAudioMixBuffer.cpp \
41 ../AudioMixBuffer.cpp \
42 ../AudioHlp.cpp
43 tstAudioMixBuffer_LIBS = $(LIB_RUNTIME)
44
45 $$(tstAudioMixBuffer_0_OUTDIR)/tstAudioMixBuffer.run: $$(tstAudioMixBuffer_1_STAGE_TARGET)
46 export VBOX_LOG_DEST=nofile; $(tstAudioMixBuffer_1_STAGE_TARGET) quiet
47 $(QUIET)$(APPEND) -t "$@" "done"
48
49 ifeq ($(KBUILD_TARGET),win.amd64) # Note: Only runs on Windows 8 or newer.
50 tstAudioClient3_TEMPLATE = VBoxR3TstExe
51 tstAudioClient3_DEFS = TESTCASE
52 tstAudioClient3_DEFS.debug = VBOX_WITH_EF_WRAPS
53 tstAudioClient3_SOURCES = tstAudioClient3.cpp
54 tstAudioClient3_LIBS = $(LIB_RUNTIME)
55 tstAudioClient3_INCS = \
56 $(KBUILD_DEVTOOLS)/win.x86/sdk/v10.0.17134.0/Include/10.0.17134.0/um \
57 $(KBUILD_DEVTOOLS)/win.x86/sdk/v10.0.17134.0/include/10.0.17134.0/shared
58
59 # Requires manual execution / verification.
60 PROGRAMS += tstAudioClient3
61 endif
62
63 PROGRAMS += tstAudioTestService
64 TESTING += $(tstAudioTestService_0_OUTDIR)/tstAudioTestService.run
65
66 tstAudioTestService_TEMPLATE = VBoxR3TstExe
67 tstAudioTestService_DEFS = TESTCASE
68 tstAudioTestService_DEFS.debug = VBOX_WITH_EF_WRAPS
69 tstAudioTestService_SOURCES = \
70 tstAudioTestService.cpp \
71 ../AudioTestService.cpp \
72 ../AudioTestServiceProtocol.cpp \
73 ../AudioTestServiceTcp.cpp \
74 ../AudioTestServiceClient.cpp
75 tstAudioTestService_LIBS = $(LIB_RUNTIME)
76
77 $$(tstAudioTestService_0_OUTDIR)/tstAudioTestService.run: $$(tstAudioTestService_1_STAGE_TARGET)
78 export VBOX_LOG_DEST=nofile; $(tstAudioTestService_1_STAGE_TARGET) quiet
79 $(QUIET)$(APPEND) -t "$@" "done"
80
81endif
82
83include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

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