Skip to content
Success

Changes

Summary

  1. testenv: pass env var for --binary-repo (details)
  2. bts/run_fake_trx.sh: tweak cd logic (details)
  3. testenv: respawn.sh: don't respawn on segfault (details)
  4. testenv: print backtrace on startup fail too (details)
Commit 77311c76c05eef9a1ba80a52764038faf1c46883 by Oliver Smith
testenv: pass env var for --binary-repo

Pass TESTENV_BINARY_REPO=1 to the podman container if the --binary-repo
argument is set. This will be used for the BTS testsuite to figure out
from where we need to run fake-trx.

Change-Id: Ia88906147e2e579145e3c8d04090c58f533febd5
The file was modified_testenv/testenv/podman.py
Commit ec1fe0c53d42db52516efeaab64c3bf65840d6b3 by Oliver Smith
bts/run_fake_trx.sh: tweak cd logic

Don't test if FAKE_TRX_DIR is empty, because it is never empty at that
point. If it was empty, then the line above would assign a default
value.

Change-Id: I63f9720487b564de5c5609eb52a6bb9d5a8aa74f
The file was modifiedbts/run_fake_trx.sh
Commit c615e041532b855b4a15f10dfca2e5fd3cf5b31a by Pau Espin Pedrol
testenv: respawn.sh: don't respawn on segfault

Do not respawn the process if it segfaulted or aborted abnormally in
another way (exit code >= 128).

Change-Id: I6f3f6218095643609a8b8869b57dde6b6bdb77a0
The file was modified_testenv/data/scripts/respawn.sh
Commit edb02d68d65ffe0de0a509dfb9e5aceb4202935e by Pau Espin Pedrol
testenv: print backtrace on startup fail too

When a program fails to start up, look for the coredump and print a
backtrace if it was found (instead of only doing it if a program
crashes later on).

Change-Id: I66a55dcfdab17d035ce6425220763a85b5b6dc90
The file was modified_testenv/testenv/daemons.py