From 0dd627284a7d295140f5c9112741b9836029a253 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Tue, 22 Jun 2021 11:07:55 -0400 Subject: [PATCH] Fix: system-tests: stable version parsing is done to late Signed-off-by: Jonathan Rajotte --- scripts/system-tests/lava2-submit.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/system-tests/lava2-submit.py b/scripts/system-tests/lava2-submit.py index dec07a9..281e917 100644 --- a/scripts/system-tests/lava2-submit.py +++ b/scripts/system-tests/lava2-submit.py @@ -127,6 +127,9 @@ def get_vlttng_cmd( """ Return vlttng cmd to be used in the job template for setup. """ + + major_version, minor_version = parse_stable_version(lttng_version) + urcu_profile = "" if lttng_version == 'master' or (major_version >= 2 and minor_version >= 11): urcu_profile = "urcu-master" @@ -157,7 +160,6 @@ def get_vlttng_cmd( + ' --profile lttng-ust-no-man-pages' ) - major_version, minor_version = parse_stable_version(lttng_version) if lttng_version == 'master' or (major_version >= 2 and minor_version >= 11): vlttng_cmd += ( -- 2.34.1