tests (e2e): print revision used in run_e2e

This commit is contained in:
Goffi 2021-09-08 17:57:28 +02:00
commit 9753dd5354

View file

@ -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 @@ def write_report_log(path, log_raw, with_ansi=False):
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)