aboutsummaryrefslogtreecommitdiffstats
path: root/sysinfo
AgeCommit message (Collapse)AuthorFilesLines
2018-04-06add compare-results.sh, call from start-testsuite.shNeels Hofmeyr1-0/+69
Compare current test results to the expected results, and exit in error on discrepancies. Add compare-result.sh: (trivially) grep junit xml output to determine which tests passed and which didn't, and compare against an expected-result.log, another junit file from a previous run. Summarize and determine success. Include an "xfail" feature: tests that are expected to fail are marked as "xfail", unexpected failures as "FAIL". In various subdirs, copy the current jenkins jobs' junit xml outputs as expected-results.log, so that we will start getting useful output in both jenkins runs and manual local runs. In start-testsuite.sh, after running the tests, invoke the results comparison. Due to the single-line parsing nature, the script so far does not distinguish between error and failure. I doubt that we actually need to do that though. Related: OS#3136 Change-Id: I87d62a8be73d73a5eeff61a842e7c27a0066079d
2018-03-16ignore results of .ttcnpp filesNeels Hofmeyr1-0/+1
Add another macro ignore_pp_results to gen_links.sh.inc and call from all gen_links.sh files, to add results of *.ttcnpp files, i.e. generated *.ttcn files, to .gitignore. Change-Id: Ic7fb176226771212d7700dafaf27ac71f12a4a61
2018-03-16fix gen_links.sh: don't include source dir as link targetNeels Hofmeyr1-8/+1
First of all, use one common place to define the gen_links() macro, in gen_links.sh.inc. In this new file, add a 'shift' to exclude the $DIR arg from also appearing in $FILES. This prevents the following wrong symlinks in the source dirs: M3UA_CNL113537/src/src MTP3asp_CNL113337/src/src SCCP_CNL113341/src/src Change-Id: Ia8493e77df1ba8723f2c5d2a49816247b0fb55f7
2018-02-25Merge duplicate SI3 in GSM_RR_Types and GSM_SystemInformationHarald Welte1-7/+14
Let's have one SI3 definition rather than multiple... Change-Id: I3c4754c9a69cb2fa51d88ef6358d5399dbb29860
2018-02-05Don't symlink non-existent fileMax1-1/+1
Change-Id: I10309f07fb207c027703f0b43a478c152a029b6d
2018-01-17Add "SourceInfoFormat := Single;" to all test configsHarald Welte1-0/+1
This will make sure that all log files will contain information about the .ttcn source file name and line number that has caused the log, which is extremely useful during debugging. Change-Id: Id6785757f20279ba84b34747f878baf67d065b20
2017-12-13generalize shared code from regen_makefile.sh into shared helper scriptHarald Welte1-9/+1
Change-Id: I86a738420851a7d9e3bdb2671f6862c3d505a4ba
2017-12-13regen_makefile.sh: Fix TITAN 6.1.0 supportHarald Welte1-1/+1
When introducing the rewriting for 6.3.0 we broke the 6.1.0 support. Now the result should build on Debian with both 6.1.0 and 6.3.0 Change-Id: I263a6abd2d9eb15ce5778ef8dbfcdac2a228b77d
2017-12-12Makefile: clone dependencies into 'deps' folderHarald Welte1-1/+1
We used to rely on out-of-tree git clones to be prepared by the user. This commit changes the system to make sure we clone all git repos we depend upon into the 'deps' folder, and then setup the symlinks to that folder. As a result, we should be able to support self-contained builds using the makefiles in this repo.
2017-12-08regen_makefile.sh: Add Regex's for TITAN 6.3.0Harald Welte1-0/+4
The TITAN 6.3.0 makefile generator needs some new regular expressions for patching the generated makefile to work on Debian
2017-08-26sysinfo: Fix the TC_telnet test case VTY command orderHarald Welte1-1/+1
2017-08-20sysinfo: Use ttcn3-parallel (to unify with other test suiets)Harald Welte1-1/+1
2017-08-20sysinfo: build dynamic to enable use of junit-xml logfile pluginHarald Welte1-2/+2
also remove libnetfilter-conntrack linkage, whcih was a copy+paste error.
2017-08-20sysinfo: Fix compilationHarald Welte2-1/+2
2017-07-19Move VTY utility functions to new Osmocom_VTY_Functions moduleHarald Welte2-100/+2
... so it can be reused from other Testsuites/modules
2017-07-19Introduce 'library' directory for modules shared by multiple test casesHarald Welte8-1078/+5
2017-07-17fix ts_RslLinkID_SACCH templateHarald Welte1-2/+5
2017-07-16GSM_Types: Add function to compute request reference from RA + FNHarald Welte1-1/+17
2017-07-16GSM_TypeS: Add RSL Link IdentifierHarald Welte1-0/+51
2017-07-16GSM_TypeS: Add Mobile Identity type 'NONE'Harald Welte1-4/+12
2017-07-16ChannelDescription sometimes used as V, sometimes as LV fieldHarald Welte2-8/+9
2017-07-16GSM_Types: Add RSL channel number IE encoder/decoderHarald Welte1-0/+63
2017-07-16Export encoding/decoding functions of RR MessageHarald Welte1-0/+5
2017-07-16first steps towards a L1CTL / LAPD testHarald Welte1-0/+1
The idea here is to implement the L1CTL protocol in TTCN-3 so we can speak it over a unix domain socket (test port) for simple tasks such as activating dedicated mode. This can then subsequently be used for LAPDm testing
2017-07-16GSM_Types: More 44.018 + 24.008 definitions for RRHarald Welte3-69/+334
2017-07-16sysinfo: Add SI contents validationHarald Welte1-0/+260
Next to verifying the SI scheduling, we now also verify the contents of SI messages depending on the VTY configuration
2017-07-16sysinfo: Hugely reduce warnings about unused return valuesHarald Welte1-2/+6
2017-07-16use testcase.stop() in case of errors of the test systemHarald Welte1-9/+8
2017-07-16add SI3 matching templateHarald Welte1-2/+16
2017-07-16Match "Unknown command" even if preceded by other stringsHarald Welte1-1/+1
2017-07-16sysinfo: Fail in case VTY returns "Unknown command"Harald Welte1-3/+4
2017-07-16sysinfo: Further simplification of codeHarald Welte1-33/+59
2017-07-16sysinfo: Enforce "1 out of 4" kind of scheduling requirementsHarald Welte1-19/+78
2017-07-16sysinfo: make timeouts a bit shorter for faster test exscutionHarald Welte1-3/+3
2017-07-16Add more SI scheduling testing code, towards a real test suiteHarald Welte2-27/+231
2017-07-15GSM_SystemInformation: Add support for "OTHER" SIsHarald Welte1-1/+3
This way we can process SIs for which we don't have a more detailed parser code and simply store their L3 as octetstring.
2017-07-15GSM_SystemInformation: Fix SI2ter descriptionHarald Welte1-1/+0
There's no RachControlParams IE in SI2ter
2017-07-15sysinfo/Test: Add function to validate SI scheduling constraintsHarald Welte1-6/+329
2017-07-15GSM_SystemInformation: Share header (for generic matching of type)Harald Welte1-12/+16
2017-07-15Add enumerated for RR Message TypeHarald Welte3-18/+119
2017-07-15Test.ttcn: Add support for telnet interaction on VTYHarald Welte4-1/+107
2017-07-14sysinfo/Test.ttcn: Add GSMTAP receiver exampleHarald Welte2-0/+54
2017-07-14Add GSMTAP_PortType dual-faced portHarald Welte4-1/+177
this can be stacked between the UDP socket (IPL4asp Port) and the actual test component(s) to provide transparante encode/decode of GSMTAP messages
2017-07-14"import" IPL4asp so we can use UDP/TCP/SCTP socketsHarald Welte2-1/+26
Importing in the Titan context apparently seems to mean symlinking the source files into the current project. I haven't found a concept of linking against libraries yet.
2017-07-14Add GSMTAP header and message definitionHarald Welte2-2/+90
2017-07-14Move general type definitions to Osmocom_Types.ttcnHarald Welte2-14/+16
2017-07-14initial code about System Information decodingHarald Welte3-0/+304
the idea is to evolve this into something that can match on the GSMTAP that's generated by OsmoBTS in order to validate the SI generation / broadcasting of OsmoBTS+OsmoBSC