Age | Commit message (Collapse) | Author | Files | Lines |
|
Related: OS#3515
Change-Id: I3719bd8dc015569ecd81928fc079e27593cdca09
|
|
Change-Id: Ifafb68353960fc5046661854ccfb8d783b0efb14
|
|
We have a good socket API in libosmocore, let's drop osmo-trx socket API
and use libosmocore's one instead of maintaining the two of them.
Change-Id: Ib19856a3e0a7607f63436c4a80b1381a3f318764
|
|
Change-Id: Ia26ef75bb11482fc0db3b790db1c93c8b74229d1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
|
|
Besides just general cleanup, the major changes are :
- Fully internal generation of reference data that doesn't
depend on glibc or even on any floating point math
- Golden results are included in a .h
Due to varying precision of different implementation or
architecture, any kind of textual compare is impossible, so
we include golden values and compare results of both the
'base' implementation the potentially 'optimized' one again
this set of values with a small error tolerance
Change-Id: I4e203d2c4b778af77d630ed15d4cef6b0c0eb76d
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
|
|
- Those are not used any where
- Those are not supported by the sse/neon accelerated versions
- And I see very little use cases for those.
Change-Id: Ic850269a0ed5d98c0ea68980afd31016ed555b48
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
|
|
Link LMSDeviceTest against LMS_LIBS, so it does not only compile on
Debian, but also on Ubuntu and openSUSE. Thanks to roox for figuring
this out.
Related: OS#3654
Change-Id: I6980d4290f623485a77db10fea6d17de0321c092
|
|
Change-Id: I74e577a0142fb6d1ef3630e02aff9910b191bff9
|
|
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
|
|
Change-Id: Icd144e672ab15cfb0955897dd6eb529c56908eba
|
|
osmo-trx can start a considerable amount of threads that can make
debugging it challenging at least. By using phtread_setname_np, the
system sets a meaningful name to the thread which can be seen while
debugging with gdb or by printing /proc/$pid/task/$tid/comm.
Now we also log system TID when setting the name so we can identify
different tasks in /proc even if pthread_setname_np fails.
Change-Id: I84711739c3e224cb383fd12b6db933785b28209e
|
|
Change-Id: I82bdeb8a3fa38f3d125e8cbccc3eddbf2b8d8f58
|
|
Change-Id: Ic6b408d684e2bb58af71ec04ced7e73e0d38ffcd
|
|
Change-Id: I1fa5e34b44331cd56408ea7ad4483dcf6443b259
|
|
Before this commit, always Logger.cpp:53 was being printed.
Change-Id: Ie5c64b4961c7c41d23484784a93eda5e08331f08
|
|
Take the chance to update some includes using files available in that
subdir to have them ina more uniform way.
Change-Id: Ibda3c54fd4dc3f6b845cc373f1a1e6b758c1ea82
|
|
Change-Id: I036f1f587f2a5eaf93ec8fb619bf76b571c1633a
|
|
Change-Id: I2c28e6e6e3eb9f587680b34330e03408e32c2b94
|
|
We still need an intermediate class Logger due to osmo-trx being
multi-threaded and requiring to have a lock to use libosmocore, which is
not thread safe.
Change-Id: I30baac89f53e927f8699d0586b43cccf88ecd493
|
|
This feature is currently not being used, so let's drop it to make it
easier to integrate into libosmocore logging system in the future.
Change-Id: I8282745ef0282d41599eaf94fe460a1d29b18e2a
|
|
It's only used internally inside the Logger module, and in case there's
an "alarm" (level more than critical) we still print on cerr, so we can
just rely on our system catching stderr instead of stdout to handle it.
Change-Id: I6d6df1578c3a4c1a37bd0d69952d443f62eed2ab
|
|
Initialize temporary buffer with 0 to make sure that it's
null-terminated.
Change-Id: Icdde701839e35d3131605ea5a11882af21c8939a
Fixes: CID149362
|
|
Let's disable this test in order to have passing jenkins jobs until we
find a better way to properly test this for different architectures.
Change-Id: I2320309bc8c1c20e2de6ef2e0f17472c68de80cb
|
|
instruction set
The following logic doesn't require root access to run the tests, which
means we can easily run it inside jenkins.
Change-Id: Iba3f4de008662805d8ffc46e1f473e407b088fb8
|
|
Before this patch, the experession assert(then_secondws==then.seconds())
was failing in x86 architecture (and passing when adding a fprintf to
debug it). Avoid comparing the double values with == as that's usually a
bad idea, since the processor can output slightly different results for
the same operation depending on how it is optimized. Use timespec()
instead to check the invariant. Take the chance to refactor some
variables around to make the test easier to read.
Change-Id: Id4324be8ece86d371b1acb46bbd97856dfed241d
|
|
Change-Id: Ib6b778a2225339ebd2eaa80b3fca6ee8d8646b23
|
|
Change-Id: Ia95e216a2ab6d397ab02c828b70f2b95d1671257
|
|
This fixes failures if the port is already being taken by other apps or
if this test is run several times concurrently in the same system.
Change-Id: Iea213375e489a56cf8ed3e47fe814e17c288803e
|
|
This class is not used anymore in osmo-trx, so we can safely remove it.
Change-Id: I67f90aa3d6a2a5e92292436d10928e0705c8f8ff
|
|
Change-Id: Ie682abf7e83de436d0f37f9f6e0664cb2f4d0c9e
|
|
Change-Id: I5414076c6846b849973bcdeb3f2358b28dcb004c
|
|
Change-Id: I77c40230503acadef5f64ab2624cd872f9782b98
|
|
Change-Id: I1a79892ba3c934879a171789e0edb357277acae4
|
|
Change-Id: I05d4067890b526bd72d2eb31cf76de43ee11e80f
|
|
Test files are moved from CommonLibs/ to tests/CommonLibs/.
Some tests are disabled in autotest because they generate timedate
related output which cannot exactly match against expected output.
Change-Id: I3d6ba625968be09297642d18090c496490e9b8fc
|