From 93ef33edb6f7436759e6276b5b208faf49a87f31 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 9 Jan 2012 22:53:04 +0100 Subject: tests: Use atlocal/atlocal.in to enable/disable the NAT test Kill the hacking, use atlocal to remember if the NAT test should be enabled and then skip the test (exit with 77). --- openbsc/tests/testsuite.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/tests/testsuite.at') diff --git a/openbsc/tests/testsuite.at b/openbsc/tests/testsuite.at index fb57d07b0..22f0b74fd 100644 --- a/openbsc/tests/testsuite.at +++ b/openbsc/tests/testsuite.at @@ -31,9 +31,9 @@ cat $abs_srcdir/gprs/gprs_test.ok > expout AT_CHECK([$abs_top_builddir/tests/gprs/gprs_test], [], [expout], [ignore]) AT_CLEANUP -m4_ifdef([ENABLE_NAT_TEST],[ AT_SETUP([bsc-nat]) AT_KEYWORDS([bsc-nat]) +AT_CHECK([test "$enable_nat_test" != no || exit 77]) cat $abs_srcdir/bsc-nat/bsc_nat_test.ok > expout AT_CHECK([$abs_top_builddir/tests/bsc-nat/bsc_nat_test], [], [expout], [ignore]) -AT_CLEANUP]) +AT_CLEANUP -- cgit v1.2.3