From 2e60785f043126615e89d8be5710e68e98cc8b0f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 14 Jun 2011 23:49:02 -0600 Subject: Use propper extensions for tests. --- libdimension-python/tests/Makefile.am | 1 + libdimension/bench/Makefile.am | 24 ++++++++++++------------ libdimension/tests/Makefile.am | 24 ++++++++++++------------ 3 files changed, 25 insertions(+), 24 deletions(-) diff --git a/libdimension-python/tests/Makefile.am b/libdimension-python/tests/Makefile.am index 70c2f35..29411ab 100644 --- a/libdimension-python/tests/Makefile.am +++ b/libdimension-python/tests/Makefile.am @@ -21,6 +21,7 @@ TESTS = geometry.py \ color.py \ canvas.py \ demo.py +TEST_EXTENSIONS = .py TESTS_ENVIRONMENT = PYTHONPATH=$(top_builddir)/libdimension-python/.libs .py: diff --git a/libdimension/bench/Makefile.am b/libdimension/bench/Makefile.am index 353acb3..b8930e9 100644 --- a/libdimension/bench/Makefile.am +++ b/libdimension/bench/Makefile.am @@ -19,23 +19,23 @@ INCLUDES = -I$(top_srcdir)/libdimension -EXTRA_PROGRAMS = bench-array \ - bench-geometry \ - bench-polynomial \ - bench-prtree +EXTRA_PROGRAMS = array.bench \ + geometry.bench \ + polynomial.bench \ + prtree.bench AM_CFLAGS = $(libsandglass_CFLAGS) -fno-inline AM_LDFLAGS = $(libsandglass_LIBS) $(top_builddir)/libdimension/libdimension.la -bench_array_SOURCES = array.c -bench_geometry_SOURCES = geometry.c -bench_polynomial_SOURCES = polynomial.c -bench_prtree_SOURCES = prtree.c +array_bench_SOURCES = array.c +geometry_bench_SOURCES = geometry.c +polynomial_bench_SOURCES = polynomial.c +prtree_bench_SOURCES = prtree.c bench: $(EXTRA_PROGRAMS) - ./bench-array - ./bench-geometry - ./bench-polynomial - ./bench-prtree + ./array.bench + ./geometry.bench + ./polynomial.bench + ./prtree.bench .PHONY: bench diff --git a/libdimension/tests/Makefile.am b/libdimension/tests/Makefile.am index 6b5f8ca..265c51a 100644 --- a/libdimension/tests/Makefile.am +++ b/libdimension/tests/Makefile.am @@ -20,24 +20,24 @@ INCLUDES = -I$(top_srcdir)/libdimension check_LTLIBRARIES = libdimension-tests.la -check_PROGRAMS = warning-test \ - warning-as-error-test \ - error-test \ - polynomial-test \ - prtree-test \ - png-test \ - gl-test \ - render-test \ - cxx-test +check_PROGRAMS = warning.test \ + warning-as-error.test \ + error.test \ + polynomial.test \ + prtree.test \ + png.test \ + gl.test \ + render.test \ + cxx.test TESTS = $(check_PROGRAMS) -XFAIL_TESTS = warning-as-error-test error-test +XFAIL_TESTS = warning-as-error.test error.test if !PNG -XFAIL_TESTS += png-test +XFAIL_TESTS += png.test endif if !GL -XFAIL_TESTS += gl-test +XFAIL_TESTS += gl.test endif libdimension_tests_la_SOURCES = tests.h -- cgit v1.2.3