diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-01-09 22:53:04 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-01-09 22:53:04 +0100 |
commit | 93ef33edb6f7436759e6276b5b208faf49a87f31 (patch) | |
tree | a7f1aa8f2349a2fe57e27c6960e222abae8e1f7e /openbsc/tests/testsuite.at | |
parent | 03ff1c847762174737eaa30e763d2d1eb51a4d2f (diff) |
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).
Diffstat (limited to 'openbsc/tests/testsuite.at')
-rw-r--r-- | openbsc/tests/testsuite.at | 4 |
1 files changed, 2 insertions, 2 deletions
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 |