summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2026-05-16 19:55:28 +0200
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2026-05-16 19:55:28 +0200
commit4f0e09208f2a312fef54439597add2312a86cd72 (patch)
tree3479895384db9d0ff7ecb65aeb7ac7fef8a64af8
parent60c48f4d5df503c02795d81a60f88dc033c2eb4b (diff)
Rename test directory to testsuiteHEADmaster
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac3
-rw-r--r--tests/Makefile.am6
-rw-r--r--tests/lib/aplwc.exp1
-rw-r--r--testsuite/Makefile.am8
-rw-r--r--testsuite/aplwc.bin/example.exp (renamed from tests/aplwc.bin/example.exp)0
-rw-r--r--testsuite/aplwc.lib/example.exp (renamed from tests/aplwc.lib/example.exp)0
-rw-r--r--testsuite/site_extra.exp.in1
9 files changed, 13 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index e5afc7d..743cb92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -51,3 +51,4 @@ aplwc-*.tar.*
/.gdb_history
/lib/.gdb_history
/src/.gdb_history
+/testsuite/site_extra.exp
diff --git a/Makefile.am b/Makefile.am
index afb820f..05141f5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
EXTRA_DIST = m4/gnulib-cache.m4
-SUBDIRS = gnu lib src doc po tests
+SUBDIRS = gnu lib src doc po testsuite
dist-hook: dist-tarball-version
.PHONY: dist-tarball-version
diff --git a/configure.ac b/configure.ac
index 44865e8..4d18988 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,8 @@ AC_CONFIG_FILES([
doc/Makefile
gnu/Makefile
po/Makefile.in
- tests/Makefile
+ testsuite/Makefile
+ testsuite/site_extra.exp
guix.scm
lib/aplwc.pc
scripts/publish-release
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index 086e276..0000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-AUTOMAKE_OPTIONS = dejagnu
-CLEANFILES = *.log *.sum site.*
-EXTRA_DIST = \
- lib/*.exp \
- aplwc.bin/*.exp \
- aplwc.lib/*.exp
diff --git a/tests/lib/aplwc.exp b/tests/lib/aplwc.exp
deleted file mode 100644
index 4406dff..0000000
--- a/tests/lib/aplwc.exp
+++ /dev/null
@@ -1 +0,0 @@
-set aplwc_bin "${objdir}/../src/aplwc"
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
new file mode 100644
index 0000000..51c1011
--- /dev/null
+++ b/testsuite/Makefile.am
@@ -0,0 +1,8 @@
+AUTOMAKE_OPTIONS = dejagnu
+EXTRA_DEJAGNU_SITE_CONFIG = site_extra.exp
+DEJATOOL = aplwc.bin aplwc.lib
+CLEANFILES = *.log *.sum site.exp
+EXTRA_DIST = \
+ lib/*.exp \
+ aplwc.bin/*.exp \
+ aplwc.lib/*.exp
diff --git a/tests/aplwc.bin/example.exp b/testsuite/aplwc.bin/example.exp
index 15ba15c..15ba15c 100644
--- a/tests/aplwc.bin/example.exp
+++ b/testsuite/aplwc.bin/example.exp
diff --git a/tests/aplwc.lib/example.exp b/testsuite/aplwc.lib/example.exp
index 92e00d8..92e00d8 100644
--- a/tests/aplwc.lib/example.exp
+++ b/testsuite/aplwc.lib/example.exp
diff --git a/testsuite/site_extra.exp.in b/testsuite/site_extra.exp.in
new file mode 100644
index 0000000..819c30f
--- /dev/null
+++ b/testsuite/site_extra.exp.in
@@ -0,0 +1 @@
+set aplwc_bin @abs_top_builddir@/src/aplwc