summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-06-14 23:49:02 -0600
committerTavian Barnes <tavianator@gmail.com>2011-06-14 23:49:02 -0600
commit2e60785f043126615e89d8be5710e68e98cc8b0f (patch)
tree378096ea12327b085c39626f95a33ad5993ff43b
parent8c9a97f4cf9f8d55d48981f3d7170f27ce853ce5 (diff)
downloaddimension-2e60785f043126615e89d8be5710e68e98cc8b0f.tar.xz
Use propper extensions for tests.
-rw-r--r--libdimension-python/tests/Makefile.am1
-rw-r--r--libdimension/bench/Makefile.am24
-rw-r--r--libdimension/tests/Makefile.am24
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