summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/Makefile.am
blob: 4829fb2fe0d26c18190396c50d74e3e451c2f7b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
INC = \
	-I$(top_builddir)/src/gtest/include \
	-I$(top_builddir)/src/mesa \
	-I$(top_builddir)/src/mapi \
	-I$(top_builddir)/src/glsl

AM_CFLAGS =  $(INC)
AM_CXXFLAGS = $(INC)

TESTS_ENVIRONMENT= \
	export PYTHON2=$(PYTHON2); \
	export PYTHON_FLAGS=$(PYTHON_FLAGS);

TESTS = \
	optimization-test \
	ralloc-test \
	uniform-initializer-test

check_PROGRAMS = 				\
	ralloc-test				\
	uniform-initializer-test

uniform_initializer_test_SOURCES =		\
	copy_constant_to_storage_tests.cpp	\
	set_uniform_initializer_tests.cpp	\
	uniform_initializer_utils.cpp

uniform_initializer_test_LDADD =		\
	$(top_builddir)/src/gtest/libgtest.la	\
	$(top_builddir)/src/glsl/libglsl.la	\
	$(top_builddir)/src/mesa/libmesa.a	\
	-lpthread

ralloc_test_SOURCES = ralloc_test.cpp $(top_builddir)/src/glsl/ralloc.c
ralloc_test_LDADD = $(top_builddir)/src/gtest/libgtest.la -lpthread