commit: 441c11d5c5f628d2be20972b023d908bf6c39fc8
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 07:10:51 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> 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 <vapier <AT> 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