tests: Add test for D3D12CreateDevice().

This commit is contained in:
Józef Kucia
2016-09-21 12:57:24 +02:00
parent d6e2fe97a4
commit 978584a238
5 changed files with 271 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = @VKD3D_CFLAGS@
AM_CPPFLAGS = -I$(srcdir)/include -I$(srcdir)/include/dummy
AM_CPPFLAGS = -I$(srcdir)/include -I$(srcdir)/include/dummy -I$(srcdir)/include/private
widl_headers = \
include/d3d12.h
@@ -12,6 +12,9 @@ vkd3d_public_headers = \
include/dxgibase.h \
include/vkd3d_windows.h
vkd3d_tests = \
tests/d3d12
BUILT_SOURCES = $(widl_headers)
CLEANFILES = $(widl_headers)
@@ -26,6 +29,11 @@ pkgconfigdir = $(libdir)/pkgconfig
pkginclude_HEADERS = $(vkd3d_public_headers)
nodist_pkgconfig_DATA = libvkd3d.pc
LDADD = libvkd3d.la
check_PROGRAMS = $(vkd3d_tests)
AM_DEFAULT_SOURCE_EXT = .c
TESTS = $(vkd3d_tests)
$(widl_headers): %.h: %.idl
$(WIDL) -o $@ $<