about summary refs log tree commit diff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am14
1 files changed, 5 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am
index 625f270..fe81c4f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
 # guile-xapian --- Guile bindings for Xapian
-# Copyright © 2020–2024 Arun Isaac <arunisaac@systemreboot.net>
+# Copyright © 2020–2024, 2026 Arun Isaac <arunisaac@systemreboot.net>
 # Copyright © 2022 Bob131 <bob@bob131.so>
 #
 # This file is part of guile-xapian.
@@ -79,18 +79,14 @@ xapian/xapian.go: xapian/xapian.scm libguilexapian-@GUILE_EFFECTIVE_VERSION@.la
 
 # Tests
 
-TEST_EXTENSIONS = .scm
-SCM_TESTS = tests/xapian.scm
-TESTS = $(SCM_TESTS)
+test_files = tests/xapian.scm
 
-SCM_LOG_DRIVER =		\
-  $(builddir)/pre-inst-env	\
-  $(GUILE) --no-auto-compile -s \
-  $(builddir)/build-aux/test-driver.scm
+check-local:
+	$(builddir)/pre-inst-env $(GUILE_RUN64) $(test_files)
 
 # Distribution
 
-EXTRA_DIST = $(TESTS) $(SOURCES) except.i xapian.i.in xapian-head.i xapian-headers.i
+EXTRA_DIST = $(test_files) $(SOURCES) except.i xapian.i.in xapian-head.i xapian-headers.i
 
 %.asc: %
 	$(GPG) --detach-sign --armor $<