Instead of echo from coreutils, which has the -e flag to enable
interpretation of backslash escapes, the built-in echo from /bin/sh
gets used which defaults to interpretation of backslash escapes and
prints a literal "-e".
From https://www.gnu.org/software/make/manual/html_node/Choosing-the-Shell.html:
> The program used as the shell is taken from the variable SHELL. If this
> variable is not set in your makefile, the program /bin/sh is used as the
> shell.
Change-Id: I06ed3a8c55fd5eb51269afb8cd12433077c2f7e6
Use spaces as indent for the Makefile snippets and replace them with
tabs just before writing the Makefile. This way we can indent the whole
file with spaces. Instead of mixing spaces and tabs, and frequently
having spaces where tabs would need to be by accident, which then
results in a broken Makefile.
Use two spaces for the tabs, as in the vim modeline at the bottom.
Change-Id: I42eb2dda0f1f48d4a8ea2e1e59f9cfd8df7af800
Instead of directly writing the new Makefile, write the new content into
a buffer variable first. This ensures that we don't abort half-way while
writing the Makefile, and it allows replacing spaces -> tabs in the
next patch.
Change-Id: I9a0ee9aa5047b7d9af9673465441039cd55c221b
Make it feasible to set installation prefixes for both autotools and
meson projects (open5gs) when building them with osmo-dev. This will be
used by the new testenv script for osmo-ttcn3-hacks.
Related: OS#6494
Change-Id: I1788a9a1e6c83f108e03968f797c258da20863b0
Fix for:
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
Change-Id: I5de0285012344876dbe47f1ae663bf93c45aade0
With Debian's packaging, the ccache symlinks are created in
/usr/lib/ccache/, not in /usr/lib/ccache/bin/. Tweak ccache.opts to
find gcc and g++ in both paths.
Change-Id: I3803d453c06c503bc9c0ea1823cb9470e5f157b1
For ttcn3-bts-test and ttcn3-ggsn-test, the tester dir has the
configuration at the end (…-tester-all etc.). Support that in the
collect_logs function.
Change-Id: I2aaab0c37fffedaeb49a362f77d795f017e2a7da
Allow only running one of the ttcn3-bts-test configurations, instead of
running all of them.
Depends: docker-playground I1dce5e6aa4b5d67f9f8c96ced611ab2875c353c8
Change-Id: I46028824847ffc2d0768d32c138ccd32a6c8c769
Always copy ttcn3-docker-run.sh from docker-playground.git, so we don't
use an outdated version if the file has changed.
Change-Id: I52df1da96a1848c5a4c054bb6bc9584074e9c35e
Some open5gs testsuites end in -ogs (hss, mme, ggsn), others do not
(pgw). Let the user omit -ogs and choose the right one automatically.
Change-Id: I64fb519c15cfff8a8b560d51ff8b6b5d1aada8f7
Don't mount usr_local, var_local as read-only, so the environment is
more similar to our jenkins.
Fix for:
+ /data/upfd-setup.sh
+ command -v open5gs-upfd
+ upfd_bin=/usr/local/bin/open5gs-upfd
+ setcap cap_net_raw+ep /usr/local/bin/open5gs-upfd
Failed to set capabilities on file '/usr/local/bin/open5gs-upfd': Read-only file system
Change-Id: I52d2989d91119f0f1673f49723f1055fe7428d15
Add separate functions for each rule (autoconf, configure, build,
install, reinstall, clean, distclean). This is in preparation for
supporting open5gs (meson).
Change-Id: Id7acfec7f5dd0d3d1a080b3c9d15005e51863e66
Use python's multiprocessing.cpu_count() instead of "$(nproc)". The
latter didn't work properly in Makefiles, the right syntax would have
been "$(shell nproc)". Make didn't complain about it and assumed that we
want to use all CPUs with an empty argument "-j ", but meson doesn't
accept this syntax.
Change-Id: I58ca082339f3aff813f587f4c2be9c0951b9b2dd
* libgtnpnl is now developed at gerrit.osmocom.org
* use https:// instead of git:// for libnftnl, nftables
* read the urls from a new all.urls file
* don't set a push URL pointing to gerrit for projects that have
different URLs
Change-Id: I5522c9fcc594d296c581ba59c0beb4882e2d976e