From: Jonathan Rajotte Date: Tue, 22 Jun 2021 15:07:55 +0000 (-0400) Subject: Fix: system-tests: stable version parsing is done to late X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0dd627284a7d295140f5c9112741b9836029a253;p=lttng-ci.git Fix: system-tests: stable version parsing is done to late Signed-off-by: Jonathan Rajotte --- 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 += (