From 2101ef6b907aabee177f1ab26c50d330ba5001c3 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 26 Jun 2016 00:53:31 +0000 Subject: [PATCH] Skip lastcomm and sa tests on unsupported architectures usr.bin/lastcom/tests/Makefile usr.sbin/sa/tests/Makefile Set allow_architectures appropriately. These tests depend on golden files that must be generated for each architecture, and haven't yet been generated for all of them. PR: 210566 PR: 204154 Reviewed by: ngie Approved by: re (gjb) MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D6960 --- usr.bin/lastcomm/tests/Makefile | 1 + usr.sbin/sa/tests/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/usr.bin/lastcomm/tests/Makefile b/usr.bin/lastcomm/tests/Makefile index 3aa4b752e112..9a38743c903b 100644 --- a/usr.bin/lastcomm/tests/Makefile +++ b/usr.bin/lastcomm/tests/Makefile @@ -3,6 +3,7 @@ PACKAGE= tests TAP_TESTS_SH= legacy_test +TEST_METADATA.legacy_test+= allowed_architectures="amd64 i386 sparc64" ${PACKAGE}FILES+= v1-amd64-acct.in ${PACKAGE}FILES+= v1-amd64.out diff --git a/usr.sbin/sa/tests/Makefile b/usr.sbin/sa/tests/Makefile index 6d03999b3c15..06fcd38a2769 100644 --- a/usr.sbin/sa/tests/Makefile +++ b/usr.sbin/sa/tests/Makefile @@ -3,6 +3,7 @@ PACKAGE= tests TAP_TESTS_SH= legacy_test +TEST_METADATA.legacy_test+= allowed_architectures="amd64 i386 sparc64" ${PACKAGE}FILES+= v1-amd64-sav.in ${PACKAGE}FILES+= v1-amd64-sav.out