Date: Wed, 22 Apr 2026 12:37:22 +0000 From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Siva Mahadevan <me@svmhdvn.name> Subject: git: 848ae2336eb7 - stable/15 - tests/lorder_test: Add require.progs for nm and cc Message-ID: <69e8c102.19565.3744c72f@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=848ae2336eb74c212b3ec2e28bd5543ebbc0876d commit 848ae2336eb74c212b3ec2e28bd5543ebbc0876d Author: Siva Mahadevan <siva@FreeBSD.org> AuthorDate: 2025-09-26 17:46:19 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2026-04-22 12:36:54 +0000 tests/lorder_test: Add require.progs for nm and cc Signed-off-by: Siva Mahadevan <me@svmhdvn.name> Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/1858 (cherry picked from commit 66d2816407c32a0da0f039c4edb4f19b280f9bb5) --- usr.bin/lorder/tests/Makefile | 2 ++ usr.bin/lorder/tests/lorder_test.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/usr.bin/lorder/tests/Makefile b/usr.bin/lorder/tests/Makefile index 21207f413a8d..a7920b82c90a 100644 --- a/usr.bin/lorder/tests/Makefile +++ b/usr.bin/lorder/tests/Makefile @@ -1,4 +1,6 @@ PACKAGE= tests ATF_TESTS_SH= lorder_test +TEST_METADATA+= required_programs="nm" + .include <bsd.test.mk> diff --git a/usr.bin/lorder/tests/lorder_test.sh b/usr.bin/lorder/tests/lorder_test.sh index a4276b2dcfe6..9c2db08e1718 100644 --- a/usr.bin/lorder/tests/lorder_test.sh +++ b/usr.bin/lorder/tests/lorder_test.sh @@ -16,6 +16,7 @@ noargs_body() { atf_test_case onearg onearg_head() { atf_set descr "One argument" + atf_set require.progs "cc" } onearg_body() { echo "void a(void) { }" >a.c @@ -28,6 +29,7 @@ onearg_body() { atf_test_case dashdash dashdash_head() { atf_set descr "One argument" + atf_set require.progs "cc" } dashdash_body() { echo "void a(void) { }" >a.c @@ -59,6 +61,7 @@ invalid_body() { atf_test_case objects objects_head() { atf_set descr "Order objects" + atf_set require.progs "cc" } objects_body() { echo "void a(void) { }" >a.c @@ -77,6 +80,7 @@ objects_body() { atf_test_case archives archives_head() { atf_set descr "Order archives" + atf_set require.progs "cc" } archives_body() { echo "void a(void) { }" >a.chome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e8c102.19565.3744c72f>
