From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8B165138454 for ; Fri, 11 Sep 2015 07:54:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0782021C049; Fri, 11 Sep 2015 07:53:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D2FD21C049 for ; Fri, 11 Sep 2015 07:53:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2CB0340AC1 for ; Fri, 11 Sep 2015 07:53:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F5391FE for ; Fri, 11 Sep 2015 07:53:28 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1441955451.441c11d5c5f628d2be20972b023d908bf6c39fc8.vapier@gentoo> Subject: [gentoo-commits] proj/sandbox:master commit in: tests/ X-VCS-Repository: proj/sandbox X-VCS-Files: tests/local.at X-VCS-Directories: tests/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 441c11d5c5f628d2be20972b023d908bf6c39fc8 X-VCS-Branch: master Date: Fri, 11 Sep 2015 07:53:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 49f4957d-5d6d-456f-b125-d8de5be62699 X-Archives-Hash: cfbabd688595b8fccc0ca02d2c464641 commit: 441c11d5c5f628d2be20972b023d908bf6c39fc8 Author: Mike Frysinger gentoo org> AuthorDate: Fri Sep 11 07:10:51 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Fri Sep 11 07:10:51 2015 +0000 URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=441c11d5 tests: add dynamic/static categories This way we can quickly execute the tests that run dynamic or static binaries. We leave scripts out as they're a bit of a special case. Signed-off-by: Mike Frysinger gentoo.org> tests/local.at | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/local.at b/tests/local.at index f937ff1..95db774 100644 --- a/tests/local.at +++ b/tests/local.at @@ -17,6 +17,10 @@ m4_defun([AT_SB_CHECK],[AT_CHECK([SB_RUN $1],[$2],[$3],[$4],[$5],[$6])]) m4_defun([SB_CHECK],[dnl AT_SETUP([SB_SECTION/$1]) AT_KEYWORDS([SB_SECTION]) +m4_bmatch(SB_SECTION, + [_static$], [AT_KEYWORDS([static])], + [^script$], [], + [AT_KEYWORDS([dynamic])]) AT_XFAIL_IF([( ]SB_SECTION[-0 >/dev/null ; test $? -eq 77 && exit 0 if expr ]SB_SECTION[ : .*_static >/dev/null ; then