summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi2013-02-271-2/+11
| | | | | | | The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity.
* Revert "Added a ring buffer log target to store the last N log messages."Holger Hans Peter Freyther2013-02-271-11/+2
| | | | | | | I noticed some more issues and it is the easiest to revert and include the fixed version. This reverts commit 73377229bb33ab79682ce4b126a63602d13304ad.
* Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi2013-02-271-2/+11
| | | | | | | The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity.
* fr: Begin with a GRE/FrameRelay test due the recent regressionHolger Hans Peter Freyther2013-01-151-2/+7
| | | | | | | | | | | The framerelay code is seldomly used and the socket clean ups introduced a regression. Create a testcase that will work as a user not having the right capabilities to create raw sockets. We have to make sure that this test is working even when not ran as root. The easiest way to do this is to provide our own socket implementation. This is done with dlopen/dlsym to convert the raw socket request to an UDP one.
* tests: Don't delete atconfig in cleanDaniel Willmann2012-12-261-1/+2
| | | | | | | | This file is created in ./configure so we shouldn't remove it with make. Otherwise ./configure && make clean && make check fails with: make[3]: *** No rule to make target `atconfig', needed by `check-local'. Stop.
* build: Don't use the deprecated INCLUDES in the various Makefile.amSylvain Munaut2012-12-111-1/+1
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* logging: Move the logging test from OpenBSC into libosmocoreHolger Hans Peter Freyther2012-09-271-2/+7
| | | | | Add a testcase for the logging facility. The test is coming from the OpenBSC code.
* tests: Make the gb test work with srcdir != builddirHolger Hans Peter Freyther2012-09-111-1/+2
| | | | | | | * Disable color and printing the filename of the stderr log target, update the results * Add the .ok, .err and .sh files to the extra_dist * Execute the shell script from the source directory
* BSSGP flow-control: Add unit test for algorithm testsHarald Welte2012-09-071-1/+5
|
* misc: Fix make distcheck of libosmocore by adding the result to the distHolger Hans Peter Freyther2012-08-251-1/+2
| | | | Add the new result file to the EXTRA_DIST.
* GSM 04.08: Add support for parsing CSD related bearer capabilitiesHarald Welte2012-08-241-1/+4
| | | | Also adds a test case for both encoder and decoder of this IE
* build: simplify test handling and speed up build.Diego Elio Pettenò2012-06-301-11/+50
| | | | | | | | | | | | Instead of using a ./configure parameter to decide whehter to build tests or not, use the check_PROGRAMS variable so that the tests are only built when running `make check`. To avoid slowing down the test phase itself, collapse the declaration of the test targets in the tests/Makefile.am file, this way they can be built and linked in parallel before the testsuite is executed. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
* tests: Introduce a very basic gsm0808 testHolger Hans Peter Freyther2012-01-221-1/+1
| | | | | | This tests verifies the content of the GSM 08.08 messages, it does not verify the remaining headroom (which the SCCP/IPA code relies on being plenty to prepend the header). More to come in the future.
* lapdm: Create a simple test case to transmit data between both endsHolger Hans Peter Freyther2011-12-111-1/+1
| | | | | | | This is testing the establishment of two ends (BTS, MS) one is in the polling mode as used by osmo-bts. Transfer data between the two ends. The sent data is not verified though. This should be followed up soon.
* add autotest script for milenage/auth testingHarald Welte2011-12-071-1/+1
|
* tests: Use the missing from the source directoryHolger Hans Peter Freyther2011-11-291-2/+2
| | | | | No need to keep a manual copy of the missing binary, use the one that will be in the top_srcdir.
* core/conv: Add regression testing codeSylvain Munaut2011-11-241-1/+1
| | | | | | | It tests both a given test vector encoding/decoding, and some random coding/decoding cycles. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* tests/a5: Add a5 regression testingSylvain Munaut2011-11-171-1/+1
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* tests: Fix the make distcheck of libosmocore with the testsHolger Hans Peter Freyther2011-11-141-0/+1
|
* tests: Use GNU autotest to execute our tests and compare textual outputHolger Hans Peter Freyther2011-11-141-0/+40
| | | | | | | | | | | | | The output of make check is looking like this now: Regression tests. 1: bits ok 2: msgfile ok 3: sms ok 4: smscb ok 5: timer FAILED (testsuite.at:38) 6: ussd FAILED (testsuite.at:44)
* add functions for bit-reversalHarald Welte2011-09-011-1/+1
| | | | | Sometimes we need stuff like reversing every bit in each byte (but not the byte-order).
* smscb: Add some simple decoding routines for SMSCB.Holger Hans Peter Freyther2010-12-291-1/+1
|
* ussd: Add a test case, switch parsing to use a gsm48_hdr and lenHolger Hans Peter Freyther2010-10-111-1/+1
| | | | | | The current USSD code is not doing any size checks, add a test case to find out how easily we access the data out of bounds. Begin to use the length in some places.
* msgfile: Add a file parser for a simple file formatHolger Hans Peter Freyther2010-10-081-0/+3
| | | | | | This file format will be used to store per country code, per network code messages. This will be used for various things ranging from access control, to messages...
* add option --disable-tests to disable building of test binariesHarald Welte2010-03-071-0/+2
|
* add missing automake / autoconf filesHarald Welte2010-02-201-0/+1