osmo-ttcn3-hacks[master]: Move make artifacts to build subdir

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Mar 22 16:10:17 UTC 2018


Patch Set 4:

(1 comment)

https://gerrit.osmocom.org/#/c/7405/4/sgsn/regen_makefile.sh
File sgsn/regen_makefile.sh:

Line 14: ln -s build/SGSN_Tests ../SGSN_Tests || true
> did you actually test this with docker-playground?  I think you got the hie
We are in $BASE/sgsn/build directory, because we do "cd build" in line 3 in this file.

This line will generate a symlink in "../SGSN_Tests", that is $BASE/sgsn/SGSN_Tests, and this one will point in turn to "build/SGSN_Tests" in relation to it, which means "$BASE/build/SGSN_Tests".

The first parameter is used/stored literally in the symlink entry, not as a rel path from the CWD where "ln" is used.

I didn't run docker playground, but I tested running the same kind of stuff that it runs, and I checked the symlinks are in the correct place and look fine:

$ ls -lha pcu/PCU_Tests
lrwxrwxrwx 1 pespin pespin 15 21 mar 13:58 pcu/PCU_Tests -> build/PCU_Tests

$ file $(readlink -f pcu/PCU_Tests)
/home/pespin/dev/sysmocom/ttcn3/osmo-ttcn3-hacks/pcu/build/PCU_Tests: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=73698058656b626c5a1235e28dd596dbec776223, not stripped


-- 
To view, visit https://gerrit.osmocom.org/7405
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id9ca176869ce6b80ccf2b2fff6554b121e1aa85c
Gerrit-PatchSet: 4
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list