public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sandbox:master commit in: /, tests/
@ 2011-07-04 23:06 Mike Frysinger
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2011-07-04 23:06 UTC (permalink / raw
  To: gentoo-commits

commit:     13c65f7b8fd93cad8b11bf484fa6d8c3feaad74a
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  4 22:40:30 2011 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Jul  4 22:52:00 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commit;h=13c65f7b

tests: autogenerate testsuite.at

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

---
 .gitignore         |    1 +
 tests/Makefile.am  |    6 +++++-
 tests/testsuite.at |   37 +------------------------------------
 3 files changed, 7 insertions(+), 37 deletions(-)

diff --git a/.gitignore b/.gitignore
index 30299c9..502b3a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -70,4 +70,5 @@ core
 /tests/package.m4
 /tests/testsuite
 /tests/testsuite.dir/
+/tests/testsuite.list.at
 /tests/testsuite.log

diff --git a/tests/Makefile.am b/tests/Makefile.am
index bfa5a54..d3ff11d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -91,6 +91,10 @@ clean-local:
 		$(SHELL) '$(TESTSUITE)' --clean
 
 AUTOTEST = $(AUTOM4TE) --language=autotest
-$(TESTSUITE): $(AT_FILES)
+$(TESTSUITE): $(AT_FILES) testsuite.list.at
 	$(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
 	mv $@.tmp $@
+
+testsuite.list.at: $(AT_FILES)
+	$(GREP) -l '^SB_CHECK' $(AT_FILES) | \
+		$(SED) -e 's:^[.]/:sb_inc([:' -e 's:[.]at$$:]):' > $@

diff --git a/tests/testsuite.at b/tests/testsuite.at
index 798e44f..f8af052 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -5,39 +5,4 @@ m4_defun([SB_SECTION],[$1])
 m4_include([]SB_SECTION[.at])
 ])
 
-sb_inc([access])
-sb_inc([chmod])
-sb_inc([chown])
-sb_inc([fchmodat])
-sb_inc([fchownat])
-sb_inc([futimesat])
-sb_inc([lchown])
-sb_inc([libsigsegv])
-sb_inc([link])
-sb_inc([linkat])
-sb_inc([linkat_static])
-sb_inc([mkdir])
-sb_inc([mkdir_static])
-sb_inc([mkdirat])
-sb_inc([mkfifo])
-sb_inc([mkfifoat])
-sb_inc([mknod])
-sb_inc([mknodat])
-sb_inc([open])
-sb_inc([open_static])
-sb_inc([openat])
-sb_inc([openat_static])
-sb_inc([remove])
-sb_inc([rename])
-sb_inc([renameat])
-sb_inc([rmdir])
-sb_inc([sb_printf])
-sb_inc([script])
-sb_inc([signal_static])
-sb_inc([symlink])
-sb_inc([symlinkat])
-sb_inc([unlink])
-sb_inc([unlinkat])
-sb_inc([utimensat])
-sb_inc([utimensat_static])
-sb_inc([vfork])
+m4_include([testsuite.list.at])



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sandbox:master commit in: /, tests/
@ 2021-10-23  6:10 Mike Frysinger
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2021-10-23  6:10 UTC (permalink / raw
  To: gentoo-commits

commit:     8cda01a02f00f271050050823e6facae0a730da6
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 23 05:12:47 2021 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Oct 23 05:12:47 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=8cda01a0

tests: merge into top level makefile too

This kills off recursive make entirely.

Closes: https://bugs.gentoo.org/819411
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 .gitignore        |   4 +-
 Makefile.am       |   9 ++--
 configure.ac      |   1 -
 tests/Makefile    |   4 ++
 tests/Makefile.am | 134 ---------------------------------------------------
 tests/local.mk    | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 151 insertions(+), 141 deletions(-)

diff --git a/.gitignore b/.gitignore
index 04a0f20..7704390 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,8 +8,7 @@ a.out
 .libs
 .dirstamp
 /Makefile
-/tests/Makefile
-Makefile.in
+/Makefile.in
 
 f
 f2
@@ -43,7 +42,6 @@ core
 /ltmain.sh
 /missing
 /stamp-h1
-/test.sh
 
 /m4/libtool.m4
 /m4/ltoptions.m4

diff --git a/Makefile.am b/Makefile.am
index cd5e3b3..07b1c6d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,12 +4,13 @@ AM_CPPFLAGS = \
 	$(SANDBOX_DEFINES) \
 	-I$(top_srcdir)
 
-SUBDIRS = tests
-
 confdir = $(sysconfdir)
 confddir = $(sysconfdir)/sandbox.d
 
 bin_PROGRAMS =
+check_PROGRAMS =
+check_SCRIPTS =
+dist_check_SCRIPTS =
 dist_conf_DATA = etc/sandbox.conf
 confd_DATA = etc/sandbox.d/00default
 dist_pkgdata_DATA  = data/sandbox.bashrc
@@ -17,6 +18,7 @@ lib_LTLIBRARIES =
 noinst_LTLIBRARIES =
 
 CLEANFILES =
+DISTCLEANFILES =
 
 EXTRA_DIST = \
 	headers.h \
@@ -47,5 +49,6 @@ dist-hook:
 include libsandbox/local.mk
 include libsbutil/local.mk
 include src/local.mk
+include tests/local.mk
 
-DISTCLEANFILES = $(CLEANFILES)
+DISTCLEANFILES += $(CLEANFILES)

diff --git a/configure.ac b/configure.ac
index 96c602f..0f2b0ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -471,7 +471,6 @@ AC_CONFIG_FILES([
 	Makefile
 	etc/sandbox.d/00default
 	tests/atlocal
-	tests/Makefile
 	tests/package.m4
 ])
 AC_OUTPUT

diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..2eed23e
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,4 @@
+# Helper for developers.
+all: tests ;
+clean: clean-checkPROGRAMS ; rm -f *.o *.l[ao] .libs/*
+%: ; $(MAKE) -C .. $@

diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index 5bb476d..0000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1,134 +0,0 @@
-AT_FILES = $(wildcard $(srcdir)/*.at)
-TESTSUITE = $(srcdir)/testsuite
-DISTCLEANFILES = atconfig
-EXTRA_DIST = atlocal.in package.m4.in $(AT_FILES) $(TESTSUITE) \
-	test-skel-0.c \
-	tests.h \
-	xattr-0
-
-AM_CPPFLAGS = -I$(top_srcdir) $(SANDBOX_DEFINES)
-
-check_PROGRAMS = \
-	get-group \
-	get-user \
-	sb_true \
-	sb_true_static \
-	\
-	access-0 \
-	chmod-0 \
-	chown-0 \
-	creat-0 \
-	creat64-0 \
-	execv-0 \
-	execvp-0 \
-	faccessat-0 \
-	fchmodat-0 \
-	fchownat-0 \
-	fopen-0 \
-	fopen64-0 \
-	futimesat-0 \
-	lchown-0 \
-	link-0 \
-	linkat-0 \
-	linkat_static-0 \
-	lremovexattr-0 \
-	lsetxattr-0 \
-	lutimes-0 \
-	mkdtemp-0 \
-	mkdir-0 \
-	mkdir_static-0 \
-	mkdirat-0 \
-	mkfifo-0 \
-	mkfifoat-0 \
-	mknod-0 \
-	mknodat-0 \
-	mkostemp-0 \
-	mkostemp64-0 \
-	mkostemps-0 \
-	mkostemps64-0 \
-	mkstemp-0 \
-	mkstemp64-0 \
-	mkstemps-0 \
-	mkstemps64-0 \
-	open-0 \
-	open_static-0 \
-	open64-0 \
-	openat-0 \
-	openat_static-0 \
-	openat64-0 \
-	opendir-0 \
-	remove-0 \
-	removexattr-0 \
-	rename-0 \
-	renameat-0 \
-	renameat2-0 \
-	rmdir-0 \
-	setxattr-0 \
-	signal_static-0 \
-	symlink-0 \
-	symlinkat-0 \
-	truncate-0 \
-	truncate64-0 \
-	unlink-0 \
-	unlink_static-0 \
-	unlinkat-0 \
-	utime-0 \
-	utimensat-0 \
-	utimensat_static-0 \
-	utimes-0 \
-	vfork-0 \
-	\
-	getcwd-gnulib_tst \
-	libsigsegv_tst \
-	malloc_hooked_tst \
-	malloc_mmap_tst \
-	pipe-fork_tst \
-	pipe-fork_static_tst \
-	sb_printf_tst \
-	sigsuspend-zsh_tst \
-	sigsuspend-zsh_static_tst \
-	trace-memory_static_tst
-
-dist_check_SCRIPTS = \
-	$(wildcard $(srcdir)/*-[0-9]*.sh) \
-	malloc-0 \
-	script-0 \
-	trace-0
-
-AM_LDFLAGS = `expr $@ : .*_static >/dev/null && echo -all-static`
-
-sb_printf_tst_CFLAGS = -I$(top_srcdir)/libsbutil -I$(top_srcdir)/libsbutil/include
-sb_printf_tst_LDADD = $(top_builddir)/libsbutil/libsbutil.la
-
-malloc_hooked_tst_LDFLAGS = $(AM_LDFLAGS) -pthread
-
-libsigsegv_tst_CPPFLAGS = ${AM_CPPFLAGS}
-if HAVE_LIBSIGSEGV
-libsigsegv_tst_CPPFLAGS += -DHAVE_LIBSIGSEGV
-libsigsegv_tst_LDADD = -lsigsegv
-endif
-
-TESTSUITEFLAGS = --jobs=`getconf _NPROCESSORS_ONLN || echo 1`
-
-# Helper target for devs to precompile.
-tests: $(check_PROGRAMS)
-
-check-local: atconfig atlocal $(TESTSUITE)
-	$(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='src:tests' $(TESTSUITEFLAGS)
-
-installcheck-local: atconfig atlocal $(TESTSUITE)
-	$(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='src:tests:$(bindir)' $(TESTSUITEFLAGS)
-
-clean-local:
-	test ! -f '$(TESTSUITE)' || \
-		$(SHELL) '$(TESTSUITE)' --clean
-
-AUTOTEST = $(AUTOM4TE) --language=autotest
-$(TESTSUITE): $(AT_FILES) testsuite.list.at
-	$(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
-	mv $@.tmp $@
-
-testsuite.list.at: $(AT_FILES)
-	( echo "dnl DO NOT EDIT: GENERATED BY MAKEFILE.AM"; \
-	$(GREP) -l -e '^SB_CHECK' -e '^AT_CHECK' $(AT_FILES) | LC_ALL=C sort | \
-		$(SED) -e 's:^[.]/:sb_inc([:' -e 's:[.]at$$:]):' ) > $@

diff --git a/tests/local.mk b/tests/local.mk
new file mode 100644
index 0000000..0aac4f1
--- /dev/null
+++ b/tests/local.mk
@@ -0,0 +1,140 @@
+AT_FILES = $(wildcard $(top_srcdir)/%D%/*.at)
+TESTSUITE = $(abs_top_srcdir)/%D%/testsuite
+DISTCLEANFILES += %D%/atconfig
+
+EXTRA_DIST += \
+	$(AT_FILES) \
+	%D%/atlocal.in \
+	%D%/package.m4.in \
+	%D%/testsuite \
+	%D%/test-skel-0.c \
+	%D%/tests.h \
+	%D%/xattr-0
+
+check_PROGRAMS += \
+	%D%/get-group \
+	%D%/get-user \
+	%D%/sb_true \
+	%D%/sb_true_static \
+	\
+	%D%/access-0 \
+	%D%/chmod-0 \
+	%D%/chown-0 \
+	%D%/creat-0 \
+	%D%/creat64-0 \
+	%D%/execv-0 \
+	%D%/execvp-0 \
+	%D%/faccessat-0 \
+	%D%/fchmodat-0 \
+	%D%/fchownat-0 \
+	%D%/fopen-0 \
+	%D%/fopen64-0 \
+	%D%/futimesat-0 \
+	%D%/lchown-0 \
+	%D%/link-0 \
+	%D%/linkat-0 \
+	%D%/linkat_static-0 \
+	%D%/lremovexattr-0 \
+	%D%/lsetxattr-0 \
+	%D%/lutimes-0 \
+	%D%/mkdtemp-0 \
+	%D%/mkdir-0 \
+	%D%/mkdir_static-0 \
+	%D%/mkdirat-0 \
+	%D%/mkfifo-0 \
+	%D%/mkfifoat-0 \
+	%D%/mknod-0 \
+	%D%/mknodat-0 \
+	%D%/mkostemp-0 \
+	%D%/mkostemp64-0 \
+	%D%/mkostemps-0 \
+	%D%/mkostemps64-0 \
+	%D%/mkstemp-0 \
+	%D%/mkstemp64-0 \
+	%D%/mkstemps-0 \
+	%D%/mkstemps64-0 \
+	%D%/open-0 \
+	%D%/open_static-0 \
+	%D%/open64-0 \
+	%D%/openat-0 \
+	%D%/openat_static-0 \
+	%D%/openat64-0 \
+	%D%/opendir-0 \
+	%D%/remove-0 \
+	%D%/removexattr-0 \
+	%D%/rename-0 \
+	%D%/renameat-0 \
+	%D%/renameat2-0 \
+	%D%/rmdir-0 \
+	%D%/setxattr-0 \
+	%D%/signal_static-0 \
+	%D%/symlink-0 \
+	%D%/symlinkat-0 \
+	%D%/truncate-0 \
+	%D%/truncate64-0 \
+	%D%/unlink-0 \
+	%D%/unlink_static-0 \
+	%D%/unlinkat-0 \
+	%D%/utime-0 \
+	%D%/utimensat-0 \
+	%D%/utimensat_static-0 \
+	%D%/utimes-0 \
+	%D%/vfork-0 \
+	\
+	%D%/getcwd-gnulib_tst \
+	%D%/libsigsegv_tst \
+	%D%/malloc_hooked_tst \
+	%D%/malloc_mmap_tst \
+	%D%/pipe-fork_tst \
+	%D%/pipe-fork_static_tst \
+	%D%/sb_printf_tst \
+	%D%/sigsuspend-zsh_tst \
+	%D%/sigsuspend-zsh_static_tst \
+	%D%/trace-memory_static_tst
+
+dist_check_SCRIPTS += \
+	$(wildcard $(top_srcdir)/%D%/*-[0-9]*.sh) \
+	%D%/malloc-0 \
+	%D%/script-0 \
+	%D%/trace-0
+
+# This will be used by all programs, not just tests/ ...
+AM_LDFLAGS = `expr $@ : .*_static >/dev/null && echo -all-static`
+
+%C%_sb_printf_tst_CFLAGS = -I$(top_srcdir)/libsbutil -I$(top_srcdir)/libsbutil/include
+%C%_sb_printf_tst_LDADD = libsbutil/libsbutil.la
+
+%C%_malloc_hooked_tst_LDFLAGS = $(AM_LDFLAGS) -pthread
+
+%C%_libsigsegv_tst_CPPFLAGS = ${AM_CPPFLAGS}
+if HAVE_LIBSIGSEGV
+%C%_libsigsegv_tst_CPPFLAGS += -DHAVE_LIBSIGSEGV
+%C%_libsigsegv_tst_LDADD = -lsigsegv
+endif
+
+TESTSUITEFLAGS = --jobs=`getconf _NPROCESSORS_ONLN || echo 1`
+
+# Helper target for devs to precompile.
+tests: $(check_PROGRAMS) $(TESTSUITE)
+
+check-local: %D%/atconfig %D%/atlocal $(TESTSUITE)
+	cd %D% && $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='src:tests' $(TESTSUITEFLAGS)
+
+installcheck-local: %D%/atconfig %D%/atlocal $(TESTSUITE)
+	cd %D% && $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='src:tests:$(bindir)' $(TESTSUITEFLAGS)
+
+clean-local:
+	test ! -f '$(TESTSUITE)' || { cd %D% && $(SHELL) '$(TESTSUITE)' --clean; }
+
+TESTSUITE_LIST = $(top_srcdir)/%D%/testsuite.list.at
+AUTOTEST = $(AUTOM4TE) --language=autotest
+$(TESTSUITE): $(AT_FILES) $(TESTSUITE_LIST)
+	@$(MKDIR_P) $(abs_top_srcdir)/%D%
+	$(AM_V_GEN)cd $(abs_top_srcdir)/%D% && $(AUTOTEST) -I. -o $@.tmp $@.at
+	$(AM_V_at)mv $@.tmp $@
+
+$(TESTSUITE_LIST): $(AT_FILES)
+	@$(MKDIR_P) $(abs_top_srcdir)/%D%
+	$(AM_V_GEN)( echo "dnl DO NOT EDIT: GENERATED BY MAKEFILE.AM"; \
+	$(GREP) -l -e '^SB_CHECK' -e '^AT_CHECK' $(AT_FILES) | LC_ALL=C sort | \
+		$(SED) -e 's:^[^/]*/%D%/:sb_inc([:' -e 's:[.]at$$:]):' ) > $@


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sandbox:stable-2.x commit in: /, tests/
@ 2025-01-08  4:55 Mike Gilbert
  2025-01-14  4:38 ` [gentoo-commits] proj/sandbox:master " Mike Gilbert
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Gilbert @ 2025-01-08  4:55 UTC (permalink / raw
  To: gentoo-commits

commit:     4d815277d896b365407b24701b7c4ff2a5fe765d
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 04:30:57 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 04:30:57 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=4d815277

tests: rename testsuite.list.at to testsuite.list

This avoids a circular make dependency by not matching the *.at
wildcard.

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .gitignore         | 2 +-
 tests/local.mk     | 2 +-
 tests/testsuite.at | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 7704390..7f6dae9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -73,5 +73,5 @@ core
 /tests/package.m4
 /tests/testsuite
 /tests/testsuite.dir/
-/tests/testsuite.list.at
+/tests/testsuite.list
 /tests/testsuite.log

diff --git a/tests/local.mk b/tests/local.mk
index 4f166cc..73900b6 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -139,7 +139,7 @@ installcheck-local: %D%/atconfig %D%/atlocal $(TESTSUITE)
 clean-local:
 	test ! -f '$(TESTSUITE)' || { cd %D% && $(SHELL) '$(ABS_TESTSUITE)' --clean; }
 
-TESTSUITE_LIST = $(top_srcdir)/%D%/testsuite.list.at
+TESTSUITE_LIST = $(top_srcdir)/%D%/testsuite.list
 AUTOTEST = $(AUTOM4TE) --language=autotest
 $(TESTSUITE): $(AT_FILES) $(TESTSUITE_LIST)
 	@$(MKDIR_P) '$(top_srcdir)/%D%'

diff --git a/tests/testsuite.at b/tests/testsuite.at
index 2fbe1dc..38032dc 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -6,4 +6,4 @@ m4_defun([SB_SECTION],[$1])
 m4_include([]SB_SECTION[.at])
 ])
 
-m4_include([testsuite.list.at])
+m4_include([testsuite.list])


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sandbox:master commit in: /, tests/
  2025-01-08  4:55 [gentoo-commits] proj/sandbox:stable-2.x commit in: /, tests/ Mike Gilbert
@ 2025-01-14  4:38 ` Mike Gilbert
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Gilbert @ 2025-01-14  4:38 UTC (permalink / raw
  To: gentoo-commits

commit:     4d815277d896b365407b24701b7c4ff2a5fe765d
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 04:30:57 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 04:30:57 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=4d815277

tests: rename testsuite.list.at to testsuite.list

This avoids a circular make dependency by not matching the *.at
wildcard.

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .gitignore         | 2 +-
 tests/local.mk     | 2 +-
 tests/testsuite.at | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 7704390..7f6dae9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -73,5 +73,5 @@ core
 /tests/package.m4
 /tests/testsuite
 /tests/testsuite.dir/
-/tests/testsuite.list.at
+/tests/testsuite.list
 /tests/testsuite.log

diff --git a/tests/local.mk b/tests/local.mk
index 4f166cc..73900b6 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -139,7 +139,7 @@ installcheck-local: %D%/atconfig %D%/atlocal $(TESTSUITE)
 clean-local:
 	test ! -f '$(TESTSUITE)' || { cd %D% && $(SHELL) '$(ABS_TESTSUITE)' --clean; }
 
-TESTSUITE_LIST = $(top_srcdir)/%D%/testsuite.list.at
+TESTSUITE_LIST = $(top_srcdir)/%D%/testsuite.list
 AUTOTEST = $(AUTOM4TE) --language=autotest
 $(TESTSUITE): $(AT_FILES) $(TESTSUITE_LIST)
 	@$(MKDIR_P) '$(top_srcdir)/%D%'

diff --git a/tests/testsuite.at b/tests/testsuite.at
index 2fbe1dc..38032dc 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -6,4 +6,4 @@ m4_defun([SB_SECTION],[$1])
 m4_include([]SB_SECTION[.at])
 ])
 
-m4_include([testsuite.list.at])
+m4_include([testsuite.list])


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sandbox:master commit in: /, tests/
  2025-01-08  4:55 [gentoo-commits] proj/sandbox:stable-2.x commit in: tests/, / Mike Gilbert
@ 2025-01-14  4:38 ` Mike Gilbert
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Gilbert @ 2025-01-14  4:38 UTC (permalink / raw
  To: gentoo-commits

commit:     149a5fb97abf4a83380c87998562dcabbdc39d5e
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 04:46:01 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 04:51:07 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=149a5fb9

tests: move scripts to EXTRA_DIST

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 Makefile.am    |  2 --
 tests/local.mk | 12 +++++-------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 37d9933..14ef729 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,8 +11,6 @@ confddir = $(sysconfdir)/sandbox.d
 
 bin_PROGRAMS =
 check_PROGRAMS =
-check_SCRIPTS =
-dist_check_SCRIPTS =
 dist_conf_DATA = etc/sandbox.conf
 confd_DATA = etc/sandbox.d/00default
 dist_pkgdata_DATA  = data/sandbox.bashrc

diff --git a/tests/local.mk b/tests/local.mk
index 73900b6..4ba6630 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -13,7 +13,11 @@ EXTRA_DIST += \
 	%D%/package.m4.in \
 	%D%/test-skel-0.c \
 	%D%/tests.h \
-	%D%/xattr-0
+	%D%/malloc-0 \
+	%D%/script-0 \
+	%D%/trace-0 \
+	%D%/xattr-0 \
+	$(wildcard $(top_srcdir)/%D%/*-[0-9]*.sh)
 
 check_PROGRAMS += \
 	%D%/get-group \
@@ -101,12 +105,6 @@ check_PROGRAMS += \
 	%D%/sigsuspend-zsh_static_tst \
 	%D%/trace-memory_static_tst
 
-dist_check_SCRIPTS += \
-	$(wildcard $(top_srcdir)/%D%/*-[0-9]*.sh) \
-	%D%/malloc-0 \
-	%D%/script-0 \
-	%D%/trace-0
-
 # This will be used by all programs, not just tests/ ...
 AM_LDFLAGS = `expr $@ : .*_static >/dev/null && echo -all-static`
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-01-14  4:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-08  4:55 [gentoo-commits] proj/sandbox:stable-2.x commit in: /, tests/ Mike Gilbert
2025-01-14  4:38 ` [gentoo-commits] proj/sandbox:master " Mike Gilbert
  -- strict thread matches above, loose matches on Subject: below --
2025-01-08  4:55 [gentoo-commits] proj/sandbox:stable-2.x commit in: tests/, / Mike Gilbert
2025-01-14  4:38 ` [gentoo-commits] proj/sandbox:master commit in: /, tests/ Mike Gilbert
2021-10-23  6:10 Mike Frysinger
2011-07-04 23:06 Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox