aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2023-10-20Introduce EPDG_Tests testsuitePau Espin Pedrol1-0/+1
Relted: OS#6204 Change-Id: Iab6f3c7dbcbbf344b0beca9490597c9ab0907171
2023-10-15Introduce HSS_Tests testsuitePau Espin Pedrol1-0/+1
Change-Id: Ic2fccd9c54aea04f1a31649a0af47c974939fb2f Related: SYS#6588
2023-08-26dia2gsup: Introduce initial testsuiteHarald Welte1-0/+1
This testsuite contains 1 working test so far. Related: OS#5757 Change-Id: Ia3db9fd62249777cd7c63f6c4af1568c79468728
2023-05-04Makefile: workaround Eclipse Gitlab rate limitingPau Espin Pedrol1-1/+3
Got this while pulling in the entire set of deps: """ remote: You have reached the limit of requests you can make to Eclipse GitLab. This could be caused by too many open tabs, which query the GitLab server in the background. Please close unused tabs, or put them to sleep so they don't issue requests needlessly. """ Change-Id: I5866154a6af88875a446e092f0926cdc4a1a9fc4
2022-09-20add upf/ to test osmo-upfNeels Hofmeyr1-0/+1
So far testing only PFCP interaction without real GTP traffic. Related: SYS#5599 Change-Id: If67819dea785597841f21d8c444cb4866cfde571
2022-05-18Add script to regen library/DIAMETER_Types.ttcnPau Espin Pedrol1-1/+4
This way we have a reproducible way to generate the same library/DIAMETER_Types.ttcn file. Change-Id: Ie6fdb8003a0faf25a5bf4027b672da73f788988e
2022-02-17Makefile: Include hnbgw in SUBDIRSDaniel Willmann1-0/+1
Change-Id: I04616434cf8b5e67b67803040c3a03e4a0e3d182
2022-02-10Makefile: run $(nproc) parallel jobs for target 'deps'Vadim Yanitskiy1-1/+1
Change-Id: I53112a20d78d12bcc2764c1fc5567eb26bfa46cc
2021-12-05Makefile: add target for generating tagsVadim Yanitskiy1-0/+7
Change-Id: Ic2c68c12471d872f449e29082a98df14b47bbda4
2021-11-24hnb: Introduce HNB_Tests testsuitePau Espin Pedrol1-0/+1
A new Iuh CodecPort + Emulation is introduced to (de)mux RANAP and RUA in the same SCTP socket. The Iuh_CodecPort.ttcn file has currently a hack to be able to test HNBAP, since titan seem to be reporting sinfo_ppid=0 when in fact it received sinfo_ppid=20 (HNBAP). A couple tests are added to validate HNBAP HNBRegister Request + Accept or Reject. In current osmo-hnodeb state, both tests pass if run separately, but fail if run sequentially since osmo-hnodeb still doesn't re-connect properly after first test finishes and connection is dropped. Related: SYS#5516 Change-Id: I7227917148e98a2c777f4b05d8d2eca6e9c121b7
2021-04-24Initial test suite for osmo-pcap-clientHarald Welte1-0/+1
Change-Id: If4a1072e75cb64f785d660e4c828c0f521d84b16
2021-03-17Makefile: SUBDIRS: add nsOliver Smith1-2/+27
Make the list git-friendly while at it. Related: SYS#5396 Change-Id: I36adc972ea724308bbe5423f1bacf280cef901b0
2021-02-22cbc: Initial set of CBC tess for osmo-cbcHarald Welte1-1/+1
osmo-cbc is the Osmocom cell broadcast centre. So far, there was no TTCN-3 test suite. Let's change that. Change-Id: I38286e8a3dd0f39bd25f631dcbb3ff4f8d4c221f
2021-02-03Makefile: add fr + fr-netHarald Welte1-1/+1
Change-Id: Ifc5ceca0fdaa697838de8c87e247a188e633a5cb
2020-10-15Add initial TTCN3 test for GbProxyDaniel Willmann1-2/+2
The first testcase, TC_BVC_bringup just waits for NS/BSSGP Emulation to do their thing. If nothing fails there then we pass. Related: SYS#5002 Change-Id: Ib3dc05fe5598b53e963ca863968e387cc36b9de3
2020-10-15smlc: implement initial LCS tests for OsmoSMLCNeels Hofmeyr1-1/+1
Change-Id: Ic16b8bdb2d66dcf706bfd09ab15d9f56499dd982
2020-04-21pgw: Initial testsuite for a PGW (Packet Gateway in the EPC)Harald Welte1-1/+1
Change-Id: I1c0ea207c9191479fd8f581377855f78f36bc635
2020-04-19Makefile: Add missing 'ccid' and 'mme' test suitesHarald Welte1-1/+1
Only if they're part of the master Makefile, they will be built during gerrit build verification. Change-Id: I3c0b89eacadb12efc1e946d8eaff7864a8483c7a
2020-04-01Initial SIMTRACE testsuiteHarald Welte1-1/+2
This doesn't really do much yet in terms of test coverage, but it adds all related infrastructure Change-Id: If9fa66b6c5fbddd742ff61fa2c1345736d07accd
2019-11-12stp: Introduce STP_Tests*.ttcn for testing OsmoSTPHarald Welte1-1/+1
In the past, we were automatically running [large parts of] the nplab M3UA and SUA test suites, but those implement only a fraction of the functionality. Particularly, they don't cover the non-standard IPA behavior, and they don't cover RKM (routing key management). Let's introduce an initial set of STP tests with this patch. We try to not duplicate nplab here, and implement bits not covered there. Change-Id: I628a87385cac0dfe708a0d74a5088fbd5a4790cd
2019-09-13Initial TTCN-3 test suite for osmo-remsimHarald Welte1-1/+1
This adds shared infrastructure and initial test suites for osmo-remsim-{server,client,bankd}. Change-Id: I00034d3a991f0f881cfd8ff0bfc4557113daf830
2019-06-21Put build / run scripts under Apache 2.0 licenseHarald Welte1-0/+15
The license of the build or execution scripts doesn't affect the license of the actual program, and we want to explicitly state that these scripts may be used in any kind of context. Change-Id: I553925cd88b05903aab52ae1afb093aa9ab9d035
2019-06-02move lapdm/L1CTL_Test.ttcn to bts/BTS_Tests_LAPDm.ttcnHarald Welte1-1/+1
Change-Id: Ibbc967f0bd9a19ab4bbd17f612654d72cb32d571
2018-07-24introduce a TTCN3 test suite for SCCPStefan Sperling1-1/+1
This test suite acts as an SCCP server on top of M3UA. SCCP tests are run against the sccp_demo_user program which can be found in libosmo-sccp/examples. This program must be started in client mode: sccp_demo_user -c The SCCP test suite should then work out of the box with the provided SCCP_Tests.cfg file and this additional change to sccp_demo_user default point codes: https://gerrit.osmocom.org/#/c/libosmo-sccp/+/9652/ There is currently only one test, for the libosmo-sccp crash reported as issue OS#2666. The implementation of this test is currently using an ugly workaround due to shortcomings of the M3UA Emulation layer (see source code comments). Whether a better solution is feasible is still to be determined. The test requires a patch to the SCCP Protocol Emulation which has been submitted upstream: https://git.eclipse.org/r/#/c/124552/ Change-Id: I03f5e8b282a7396b45417495c88d8fb81b26cda8 Related: OS#2666
2018-06-25default to number of CPUs for parallel make jobsStefan Sperling1-1/+5
The previous default behaviour was to always run 'make -j8', which can cause C++ build failures on machines which are low on memory. "Low" being a relative measure; I've seen failures with 4GB of RAM. Rather than assuming a beefy 8-core box, try to detect the number of available CPU cores with nproc(1) from GNU coreutils and set the number of parallel make jobs to the number of CPU cores. If this command is not available, default to a safe choice: -j1 Note that installing ccache will speed up repeated builds a lot more than -jX ever will, so falling back to -j1 isn't very bad. Change-Id: I61c3ea1b3cb5b64eecb08ad6c390594f70cdf785
2018-03-26Makefile: Add new 'sip' testsuite to list of testsuitesHarald Welte1-1/+1
Change-Id: Ie7cc41a40fb8706e9b0752be6e7c1f34dc692d87
2018-03-21make management of osmo-ttcn3 git repository dependencies automaticStefan Sperling1-1/+2
Add rules to deps/Makefile which ensure that 'make deps' puts the git repositories of dependencies into a known state. In particular, set the origin remote url to a known value, and check out a known commit into the work tree. This change ensures that ttcn3 builds run with 'make' will always use correct versions of dependencies. The 'make update-deps' now has the same effect as 'make deps', but it is not yet removed in case build scripts rely on its existence. The new 'make deps' target is fast enough to be run before every build. Change-Id: I561eee7e12d976cd2265ba1bb8cd22dd8c1a0735 Related: OS#3090
2018-03-12pcu: Rename 'gprs_gb/Test' tp 'pcu/PCU_Tests' to align with other suitesHarald Welte1-1/+1
Change-Id: Ia3350e7e1a9d6715ab81f4a5f413b7e4d728ff60
2018-03-02Makefile: use -j8, allow manual PARALLEL_MAKE valNeels Hofmeyr1-1/+1
Set default -j to 8: even on a machine with less cores, using -j8 isn't really going to slow down the build. On a machine with eight cores, -j8 is going to speed up significantly. By using '?=', allow passing a different -jN as PARALLEL_MAKE from the enviroment. Change-Id: Idf6a5505742b30d3cb8b80ae98b4e2ad4a4a38e7
2018-03-01hlr: Add hlr sub-directory to master Makefile (for 'make compile' checks)Harald Welte1-1/+1
Change-Id: Idbd8241fc7d217885f65f84e11f9f1ea13adb82e
2018-02-24Add initial OsmoBTS test suiteHarald Welte1-1/+1
This Test suite implements the BSC-side of Abis RSL and is used to test OsmoBTS. It contains provisions for using L1CTL against (virt_phy + osmo-bts-virtual) or (trxcon + fake_trx + osmo-bts-trx) to also simulate the MS/Um side, bu those provisions are not used yet. Implemented tests currently are only related to RSL dedicated channel activation / deactivation. We still terminate OML inside OsmoBSC, and let the test suite deal exclusively with RSL to keep complexity low. Change-Id: I8ced0d29777aad3ec842d54eabea87dfcc943c79
2018-02-18Makefile: Add 'sgsn' sub-directory in list of projectsHarald Welte1-1/+1
Change-Id: I2b9e5a28e60f06d05ac4ac2e3ed90c6bf72e03f2
2018-02-15Makefile: Add 'deps-update' target to update the deps-repositoryHarald Welte1-0/+4
Change-Id: Idc165425b45872d2eb958a662d03e69aaf60669d
2018-01-27msc: rename sub-directory from msc_tests to msc (to be in line with bsc, etc.)Harald Welte1-1/+1
Change-Id: Ib219dee5e587bca3b79d29d631836cf1ef2be81c
2017-12-12Makefile: ensure that 'compile' targets depend on 'deps'Harald Welte1-2/+2
This will ensure that a 'make compile' on a freshly-cloned repo will first clone all the deps to ensure a successful build Change-Id: I6583a42758b5682b04d1e90585063904508aa3a9
2017-12-12Makefile: clone dependencies into 'deps' folderHarald Welte1-1/+5
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-12Add master make file which helps to iterate over all directoriesHarald Welte1-0/+54