diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-support/gdbm/files | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-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.patch | 46 | ||||
| -rwxr-xr-x | meta/recipes-support/gdbm/files/run-ptest | 7 |
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 @@ | |||
| 1 | From ed0b5a48c7ce59ea971a10c7e522933cf613841a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Josep Puigdemont <josep.puigdemont@enea.com> | ||
| 3 | Date: Sun, 4 May 2014 16:02:07 +0200 | ||
| 4 | Subject: [PATCH] Add install-ptest rules. | ||
| 5 | |||
| 6 | Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> | ||
| 7 | Signed-off-by: Maxin B. John <maxin.john@enea.com> | ||
| 8 | Upstream-Status: Pending | ||
| 9 | --- | ||
| 10 | Makefile.am | 5 +++++ | ||
| 11 | tests/Makefile.am | 12 ++++++++++++ | ||
| 12 | 2 files changed, 17 insertions(+) | ||
| 13 | |||
| 14 | diff --git a/Makefile.am b/Makefile.am | ||
| 15 | index 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 | ||
| 27 | diff --git a/tests/Makefile.am b/tests/Makefile.am | ||
| 28 | index 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 | |||
| 5 | cd tests | ||
| 6 | |||
| 7 | ./testsuite --am-fmt AUTOTEST_PATH=$PWD abs_builddir=$PWD COMPAT=1 | ||
