aboutsummaryrefslogtreecommitdiffstats
path: root/lapdm/gen_links.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-04-29Split templates in RLCMAC_{CSN1_}Types into their own _Templates filePau Espin Pedrol1-1/+1
RLCMAC blocks have a lot of fields and we will potentially require lots of different templates, as well as functions to handle related structs. Change-Id: I9c6597178168aa3848b21930f33be698dd2ce545
2018-10-24Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handlingDaniel Willmann1-1/+1
This function can now be called from anywhere to try and safely shutdown a testcase. It is not optimal as we can't call "all component.stop" from outside the mtc, but without any proper and orderly shutdown handling of all our emulation components I believe this is the best we can do. To use it: import from Misc_Helpers all; in your module and then call Misc_Helpers.f_shutdown(__BFILE__, __LINE__); You can also pass the function a verdict and a message and it will take care of calling setverdict, but beware of the following: While setverdict would accept any number of arguments as log message and convert them to a log string f_shutdown expects one charstring. It's possible to use the log2str function to use the log arguments in setverdict for f_shutdown, for example setverdict(fail, "Template didn't match: ", tmpl_foo); would become Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, log2str("Template didn't match: ", tmpl_foo)); Change-Id: I84d1aa6732f6b748d2bfdeac8f6309023717f267
2018-03-16ignore results of .ttcnpp filesNeels Hofmeyr1-0/+2
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-27L1CTL: Add message segmentation helper via getMsgLen()Harald Welte1-1/+4
As L1CTL is using a stream socket, we need to give the UNIX_DOMAIN port some clue as to where our L1CTL message boundaries are in the stream. This requires a patched UNIX_DOMAIN_SOCKETasp test port with the following commit applied: commit 655cb4ab2ac006b3a73d1b679c83081d9743410a Author: Harald Welte <laforge@gnumonks.org> Date: Sun Feb 25 23:25:46 2018 +0100 Add "getMsgLen" function similar to IPL4asp_PT Change-Id: Iab33f57cb4311180e521a76307a552d16287b062
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-07-31move LAPDm_types to library + make lapdm executable compile againHarald Welte1-1/+1
2017-07-30move LAPDm_RAW_PT.ttcn to libraryHarald Welte1-1/+1
2017-07-30lapdm: Updated to recent changes in library code (make it compile again)Harald Welte1-1/+1
2017-07-19move lapd to lapdm (it was a mis-nomer)Harald Welte1-0/+22