summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-07-02 19:18:55 +0700
committerHarald Welte <laforge@gnumonks.org>2018-07-03 15:27:47 +0000
commitb29b9810922829bab4aefd3c888ccef683e8fc3d (patch)
tree1683055b75f1b00845ae5ce931c151ce97f8c3e9 /tests
parent48e0acdbe670cd1dfd7090fc005509c0b5ef06af (diff)
testsuite.at: fix: conditionally enable 'ecu/ecu_fr_test'
In the 'ecu/ecu_fr_test' we have a processing queue with Full Rate decoder block, which depends on libgsm. If libgsm isn't available, the test will fail. Let's enable this test conditionally. Change-Id: I74cf0e9de1e2f65e7227ee1565f12622bb55cabe
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.at1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 2b1f4c2..5946661 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -25,6 +25,7 @@ AT_CLEANUP
AT_SETUP([ecu/ecu_fr_test])
AT_KEYWORDS([ecu_fr_test])
+AT_CHECK([test "x$enable_fr_tests" = xyes || exit 77])
cat $abs_srcdir/ecu/ecu_fr_test.ok > expout
AT_CHECK([
$abs_top_builddir/tests/ecu/ecu_fr_test], [0], [expout])