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
This commit is contained in:
Vadim Yanitskiy 2018-07-02 19:18:55 +07:00 committed by Harald Welte
parent 48e0acdbe6
commit b29b981092
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ AT_CLEANUP
AT_SETUP([ecu/ecu_fr_test]) AT_SETUP([ecu/ecu_fr_test])
AT_KEYWORDS([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 cat $abs_srcdir/ecu/ecu_fr_test.ok > expout
AT_CHECK([ AT_CHECK([
$abs_top_builddir/tests/ecu/ecu_fr_test], [0], [expout]) $abs_top_builddir/tests/ecu/ecu_fr_test], [0], [expout])