aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
AgeCommit message (Collapse)AuthorFilesLines
2017-01-08gitignore: ignore *.pyc filesVadim Yanitskiy1-0/+1
Change-Id: I148584e1664b20741c0ade02cbda635c24268d2e
2017-01-06gitignore: ignore tests/oap/oap_testVadim Yanitskiy1-0/+1
Change-Id: Iccb8c46a721d5389058c5cf36621820bcd861b7b
2016-12-09wqueue: Reject messges if queue is considered fullHolger Hans Peter Freyther1-0/+1
The write queue was always meant to not queue more than the max_length messages but the implementation never rejected a message. Begin to log and enforce the queue size limit, add a testcase to verify the code and initialize except_cb as part of a fix for that new test case. Real applications might now run into the queue limit and drop messages where they just queued them before. It is unfortunate but I still think it is good to implement the routine as it was intended. We need to review osmo_wqueue_enqueue once more to see that no msgb is leaked. Change-Id: I1e6aef30f3e73d4bcf2967bc49f0783aa65395ae
2016-10-23utils/conv_gen.py: generate a single fileVadim Yanitskiy1-1/+1
Instead of generating every convolutional code into a separate file (such as conv_xcch_gen.c, conv_cs3_gen.c), it is better to have a single file, containing all definitions, because as many convolutional codes we add, as many entries we will have to add into 'src/gsm/Makefile.am'. This approach increases readability of the Makefile.am, and also makes us able to share some data between some convolutional code definitions. For example: xCCH, RACH, SCH, TCH/F, both CS2 and CS3 may use the same *_state[][2] and *_output[][2] arrays within a single file. This optimization is currently WIP. Change-Id: Ib4e4ee5fdde38429e68e3b2fa50ec03a18f59daa
2016-07-11Add GEA3 & GEA4 ciphersMax1-0/+1
Corresponding test code include both official test vectors from the specs and data from over-the-air tests. This obsoletes libosmo-crypt-a53 as it was last missing piece unimplemented in libosmogsm. Change-Id: I939e4f6b91b4a7c591ef3761fe2d46ed1c2fb2d3 Related: OS#1582
2016-07-07gitignore tests/fsm/fsm_testNeels Hofmeyr1-0/+1
was added in 136e73764e7f58e52ffb13d01304fef30eb7d291 Change-Id: I0f344cc459626f71316f99341f79b5f0479ad82c
2016-06-28gitignore: *-libtool for differing platformsNeels Hofmeyr1-0/+3
Change-Id: Ia8c011b53d4256305e70f78372a4aa0019b1131b
2016-06-07gitignore: add gsup_test, tlv_testNeels Hofmeyr1-0/+2
Change-Id: Ied1cbc7a48bdbc3696e9d8657285071c377d6de5 Reviewed-on: https://gerrit.osmocom.org/207 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther <holger@freyther.de>
2016-05-31Add helper functions for AMR codecMax1-0/+1
* add functions to encode/decode various codec paramters from RTP payload with AMR frame according to RFC 4867 * those functions are extended version based on code from osmo-bts' amr.c by Andreas Eversberg * add corresponding enum types and strings for logging * add regression tests It's useful both to replace manual parsing in osmo-bts with fuctions covered by test suite and as a debugging helpers for issues related to AMR. Change-Id: Ia217679a07d3fbc970f435e20f6eac33d34bd597 Related: OS#1562 Reviewed-on: https://gerrit.osmocom.org/118 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther <holger@freyther.de>
2016-05-19Ignore config.cacheArran Cudbard-Bell1-0/+1
Change-Id: Ida2294e490eb5eec515aa00742fb6cfc29b11b48 Reviewed-on: https://gerrit.osmocom.org/83 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther <holger@freyther.de>
2016-05-06add doc/*.tag to .gitignoreHarald Welte1-0/+1
2016-04-29Add code generator for convolutional codesMax Suraev msuraev@sysmocom.de1-0/+1
Add python utility to generate .c code with convolutional encoder/decoder based on polynomial description of the code. If argument given it'll be interpreted as intended output directory, otherwise current working directory is used. Codes for *CCH, CS2/3 and TCH/AFS are generated. Corresponding manual implementations are removed from tests. This introduce build-time dependency on python. The main work for this patch was generously contributed by Sylvain Munaut. Fixes: OS#1629
2016-03-17sim: Add simplistic unit test for APDU class tablesHarald Welte1-0/+1
2016-02-18Add T4 bit map compression routinesMax1-0/+1
Add bit map encoder and decoder functions: decoder is fully functional while encoder is good enough for testing - no backtracking to find the best possible compression is implemented. If somebody is willing to implement MS side of EDGE than this has to be expanded. Add corresponding tests. N. B: the encoding is implemented according to ETSI TS 44.060 which is slightly different from T4 used for fax according to CCITT G31D (RFC 804). Ticket: OW#2407 Sponsored-by: On-Waves ehf Signed-off-by: Max <msuraev@sysmocom.de>
2016-01-22Ignore test binariesMax1-0/+3
2015-10-28stats: Add stat_item for value monitoringJacob Erlbeck1-0/+1
This commit adds instrumentation function to gather measurement and statistical values similar to counter groups. Multiple values can be stored per item, which can be retrieved in FIFO order. Getting values from the item does not modify its state to allow for multiple independant backends (e.g. VTY and statd). When a new value is set, the oldest value gets silently overwritten. Lost values are skipped when getting values from the item. Sponsored-by: On-Waves ehf
2015-01-18misc: Ignore a file generated by doxygenHolger Hans Peter Freyther1-0/+2
2014-10-26sim: added utils/osmo-sim-test to .gitignoreKevin Redon1-0/+1
2014-10-25misc: Ignore the new test file as wellHolger Hans Peter Freyther1-0/+1
2014-06-16gsm: Add Kasumi cipher implementationSylvain Munaut1-0/+1
Submitted-by: Max <max.suraev@fairwaves.co> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-16Add missing entry in .gitignore for utils_testMax1-0/+1
Submitted-by: Max <max.suraev@fairwaves.co> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-16core: Add generic LE/BE load/store uint type convertors and use them in msgbMax1-1/+1
Submitted-by: Max <max.suraev@fairwaves.co> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-12-07Refactor COMP128v23 implementation and add test suitMax1-0/+1
2013-10-17misc: Ignore generated filesHolger Hans Peter Freyther1-0/+2
* compile is generated by newer automake * ignore the test binary
2013-08-06vty: Fix misusage of snprintf in vty/utils.cJacob Erlbeck1-0/+1
Compiled with ubuntu 1204 (precise), where -Wformat-security is enabled by -Wall. Test yields ok, but the current implementation doesn't properly support multi-character separators and end strings. So the test output is truncated. Addresses: utils.c: In function 'vty_cmd_string_from_valstr': utils.c:84:2: warning: format not a string literal and no format arguments [-Wformat-security] utils.c:84:2: warning: format not a string literal and no format arguments [-Wformat-security] utils.c:108:2: warning: format not a string literal and no format arguments [-Wformat-security] utils.c:108:2: warning: format not a string literal and no format arguments [-Wformat-security]
2013-02-27Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi1-0/+3
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.
2013-02-27Revert "Added a ring buffer log target to store the last N log messages."Holger Hans Peter Freyther1-2/+0
I noticed some more issues and it is the easiest to revert and include the fixed version. This reverts commit 73377229bb33ab79682ce4b126a63602d13304ad.
2013-02-27Added a ring buffer log target to store the last N log messages.Katerina Barone-Adesi1-0/+2
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.
2013-01-15fr: Begin with a GRE/FrameRelay test due the recent regressionHolger Hans Peter Freyther1-0/+1
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.
2012-09-27logging: Move the logging test from OpenBSC into libosmocoreHolger Hans Peter Freyther1-0/+1
Add a testcase for the logging facility. The test is coming from the OpenBSC code.
2012-09-17Fix build with dpkg-buildpackage.Max1-0/+10
2012-09-11git: Ignore generated tests executablesHolger Hans Peter Freyther1-0/+2
2012-07-25vty: Add xsd and a command that can generate the documentation.Holger Hans Peter Freyther1-1/+2
When building the doxygen documentation do not remove the other VTY documentation files in the doc/vty folder. Create a command that can be installed to dump all nodes and commands as XML on the given VTY. Create a schema for the XML file and a XSL-T script that can merge the generated file with additional information.
2012-06-30build: simplify test handling and speed up build.Diego Elio Pettenò1-0/+1
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>
2012-01-22tests: Introduce a very basic gsm0808 testHolger Hans Peter Freyther1-0/+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.
2011-12-11lapdm: Create a simple test case to transmit data between both ends0.4.1Holger Hans Peter Freyther1-0/+3
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.
2011-11-25Update .gitignore with new testsSylvain Munaut1-0/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-14tests: Use GNU autotest to execute our tests and compare textual outputHolger Hans Peter Freyther1-0/+10
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)
2011-11-14git: Ignore vi files (.swp, .swo)Holger Hans Peter Freyther1-0/+4
2011-10-10update .gitignore (crc*gen.[ch], some autotools stuff)Harald Welte1-0/+5
2011-09-05update .gitignoreAlexander Huemer1-0/+1
2011-08-20update .gitignore with Doxyfile.core0.3.6Harald Welte1-1/+1
2011-08-17update .gitignoreHarald Welte1-0/+9
2011-08-17Auto-generate the version information of Doxygen documentationHarald Welte1-0/+5
2010-12-29smscb: Ignore the very simple test application.Holger Hans Peter Freyther1-0/+1
2010-10-15Update .gitignoreSylvain Munaut1-1/+2
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-04-28Update .gitignoreSylvain Munaut1-0/+5
m4/*.m4 -> autoreconf adds stuff there tests -> Build product Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-03-23add git-version-gen magic to automatically generate package version0.1.0Harald Welte1-0/+3
2010-02-20update gitignore fileHarald Welte1-2/+1
2010-02-20intial checkin of the libosmocore projectHarald Welte1-0/+23