diff options
author | Oliver Smith <osmith@sysmocom.de> | 2018-12-10 17:10:36 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2018-12-13 11:07:02 +0100 |
commit | 871713bf6acc823115f59427855e96549a5be2ac (patch) | |
tree | 8725985d07b57c285a56a2e898154fd6c7d1498d /tests/testsuite.at | |
parent | 8d9a05ce5bebb2df636e235e7d568569426e872d (diff) |
LMSDevice: make use of dev-args in osmo-trx.cfg
Allow selecting a specific LimeSDR device by setting dev-args in the
config file. Split up the given dev-args address by comma and select
the device where all substrings can be found.
I could not test this with real hardware, but I have added a test case
to make sure this works as expected.
Related: OS#3654
Change-Id: Ib9aaa066a01bf9de3f78234d7ada884d6f28c852
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r-- | tests/testsuite.at | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index f84225e..22de782 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -1,6 +1,12 @@ AT_INIT AT_BANNER([Regression tests.]) +AT_SETUP([LMSDeviceTest]) +AT_KEYWORDS([LMSDeviceTest]) +AT_SKIP_IF([! test -e $abs_top_builddir/tests/Transceiver52M/LMSDeviceTest]) +AT_CHECK([$abs_top_builddir/tests/Transceiver52M/LMSDeviceTest], [], [], []) +AT_CLEANUP + AT_SETUP([BitVectorTest]) AT_KEYWORDS([BitVectorTest]) cat $abs_srcdir/CommonLibs/BitVectorTest.ok > expout |