diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-06 14:47:28 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-06 14:50:47 +0200 |
commit | 618505f98fec31253f528f81a6bf2f5a564005f9 (patch) | |
tree | 06d1f0d560e6a5fbdb3ca97859a2e91277a7ab33 /ttcn3-hlr-test/Dockerfile | |
parent | 307106783eba0ec018deff092c1d0d993f95a76d (diff) |
ttcn3-*: Merge logfiles no matter resolution of tests
Previous to this commit, log messages were not being merged if tests
were resolved as failed (test-suite.sh ending with exit code != 0),
which can happen if at least one test failed.
Change-Id: If293fc2d3182ef2a7b997faa8b41129a9dd89c45
Diffstat (limited to 'ttcn3-hlr-test/Dockerfile')
-rw-r--r-- | ttcn3-hlr-test/Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ttcn3-hlr-test/Dockerfile b/ttcn3-hlr-test/Dockerfile index 8a920a6..0dee3d3 100644 --- a/ttcn3-hlr-test/Dockerfile +++ b/ttcn3-hlr-test/Dockerfile @@ -26,5 +26,7 @@ RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \ COPY HLR_Tests.cfg /data/HLR_Tests.cfg CMD cd /data && \ - /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/hlr/HLR_Tests && \ - /osmo-ttcn3-hacks/log_merge.sh HLR_Tests --rm + /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/hlr/HLR_Tests; \ + exit_code=$?; \ + /osmo-ttcn3-hacks/log_merge.sh HLR_Tests --rm; \ + exit $exit_code |