changeset 3675:2cbecbb52b72

merge bookmark `@`
author Goffi <goffi@goffi.org>
date Wed, 08 Sep 2021 18:00:02 +0200
parents eeb8be32d644 (current diff) 0661b2aac167 (diff)
children b02fb5fcaa30
files
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/e2e/run_e2e.py	Wed Sep 08 17:58:48 2021 +0200
+++ b/tests/e2e/run_e2e.py	Wed Sep 08 18:00:02 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)