summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gdbm/files
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-support/gdbm/files
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gdbm/files')
-rw-r--r--meta/recipes-support/gdbm/files/ptest.patch46
-rwxr-xr-xmeta/recipes-support/gdbm/files/run-ptest7
2 files changed, 0 insertions, 53 deletions
diff --git a/meta/recipes-support/gdbm/files/ptest.patch b/meta/recipes-support/gdbm/files/ptest.patch
deleted file mode 100644
index 5f4078101b..0000000000
--- a/meta/recipes-support/gdbm/files/ptest.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From ed0b5a48c7ce59ea971a10c7e522933cf613841a Mon Sep 17 00:00:00 2001
2From: Josep Puigdemont <josep.puigdemont@enea.com>
3Date: Sun, 4 May 2014 16:02:07 +0200
4Subject: [PATCH] Add install-ptest rules.
5
6Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
7Signed-off-by: Maxin B. John <maxin.john@enea.com>
8Upstream-Status: Pending
9---
10 Makefile.am | 5 +++++
11 tests/Makefile.am | 12 ++++++++++++
12 2 files changed, 17 insertions(+)
13
14diff --git a/Makefile.am b/Makefile.am
15index d0b46ea..6c57b11 100644
16--- a/Makefile.am
17+++ b/Makefile.am
18@@ -64,3 +64,8 @@ ChangeLog:
19 mv ChangeLog.tmp ChangeLog; \
20 rm -f ChangeLog.tmp; \
21 fi
22+
23+install-ptest:
24+ @for subdir in $(SUBDIRS); do \
25+ $(MAKE) -C $$subdir DESTDIR=$(DESTDIR)/$$subdir $@; \
26+ done
27diff --git a/tests/Makefile.am b/tests/Makefile.am
28index eb071ac..9d14fe8 100644
29--- a/tests/Makefile.am
30+++ b/tests/Makefile.am
31@@ -150,3 +150,15 @@
32 t_wordwrap_LDADD = ../tools/libgdbmapp.a @LTLIBINTL@
33
34 SUBDIRS = dejagnu
35+
36+buildtests: $(check_PROGRAMS) $(TESTSUITE)
37+
38+install-ptest: $(check_PROGRAMS) $(TESTSUITE)
39+ @$(INSTALL) -d $(DESTDIR)
40+ @for file in $^; do \
41+ if [ -x .libs/$$file ]; then \
42+ $(INSTALL_PROGRAM) .libs/$$file $(DESTDIR)/$$file; \
43+ else \
44+ $(INSTALL_PROGRAM) $$file $(DESTDIR) ; \
45+ fi \
46+ done
diff --git a/meta/recipes-support/gdbm/files/run-ptest b/meta/recipes-support/gdbm/files/run-ptest
deleted file mode 100755
index 8d6481185d..0000000000
--- a/meta/recipes-support/gdbm/files/run-ptest
+++ /dev/null
@@ -1,7 +0,0 @@
1#!/bin/sh
2#
3# This script is used to run the gmdb test suite
4
5cd tests
6
7./testsuite --am-fmt AUTOTEST_PATH=$PWD abs_builddir=$PWD COMPAT=1