# HG changeset patch # User Goffi # Date 1631116648 -7200 # Node ID 0661b2aac167b75f53727d79bf586c2487edee64 # Parent e584ce33ef1d362fb8b6036dca044fc1e60e3948 tests (e2e): print revision used in `run_e2e` diff -r e584ce33ef1d -r 0661b2aac167 tests/e2e/run_e2e.py --- a/tests/e2e/run_e2e.py Thu Jul 29 22:51:01 2021 +0200 +++ b/tests/e2e/run_e2e.py Wed Sep 08 17:57:28 2021 +0200 @@ -18,7 +18,7 @@ """Run end-to-end tests in appropriate Docker environment""" -import sys +import sys, os from pathlib import Path import tempfile from textwrap import dedent @@ -128,6 +128,8 @@ f.write(log_raw) def use_e2e_env(): + rev = os.getenv("DOCKER_LIBERVIA_REV", "dev") + print(f"Running tests for Libervia {rev}") visual = get_opt(OPT_VISUAL) keep_containers = get_opt(OPT_KEEP_CONTAINERS) keep_profiles = get_opt(OPT_KEEP_PROFILES)