diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-09-11 03:10:51 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-09-11 03:10:51 -0400 |
commit | 441c11d5c5f628d2be20972b023d908bf6c39fc8 (patch) | |
tree | 1057501c4b420f8da31bf5e08029f2a3e5e623eb /tests | |
parent | tests: make sure we ignore stty exit status (diff) | |
download | sandbox-441c11d5c5f628d2be20972b023d908bf6c39fc8.tar.gz sandbox-441c11d5c5f628d2be20972b023d908bf6c39fc8.tar.bz2 sandbox-441c11d5c5f628d2be20972b023d908bf6c39fc8.zip |
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@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/local.at | 4 |
1 files changed, 4 insertions, 0 deletions
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 |