X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fsystem-tests%2Flava2-submit.py;h=6895cc2bb72ad8e0e84bf0acfa505614a183cb60;hb=e9ba7f91e954218cd8fdaaa8e3cf8d2f6ddc80ed;hp=b9af8300c2d9934a7ee3341ca6456d1ed384bc3d;hpb=559b83b3f3ffc01339295537d749697d2b7dfd24;p=lttng-ci.git diff --git a/scripts/system-tests/lava2-submit.py b/scripts/system-tests/lava2-submit.py index b9af830..6895cc2 100644 --- a/scripts/system-tests/lava2-submit.py +++ b/scripts/system-tests/lava2-submit.py @@ -136,13 +136,20 @@ def get_vlttng_cmd( else: urcu_profile = "urcu-stable-0.12" + # Starting with 2.14, babeltrace2 is the reader for testing. + if lttng_version == 'master' or (major_version >= 2 and minor_version >= 14): + babeltrace_profile = " --profile babeltrace2-stable-2.0 --profile babeltrace2-python" + babeltrace_overrides = " --override projects.babeltrace2.build-env.PYTHON=python3 --override projects.babeltrace2.build-env.PYTHON_CONFIG=python3-config -o projects.babeltrace2.configure+=--disable-man-pages" + else: + babeltrace_profile = " --profile babeltrace-stable-1.5 --profile babeltrace-python" + babeltrace_overrides = " --override projects.babeltrace.build-env.PYTHON=python3 --override projects.babeltrace.build-env.PYTHON_CONFIG=python3-config" + + vlttng_cmd = ( 'vlttng --jobs=$(nproc) --profile ' + urcu_profile - + ' --override projects.babeltrace.build-env.PYTHON=python3' - ' --override projects.babeltrace.build-env.PYTHON_CONFIG=python3-config' - ' --profile babeltrace-stable-1.5' - ' --profile babeltrace-python' - ' --profile lttng-tools-master' + + babeltrace_profile + + babeltrace_overrides + + ' --profile lttng-tools-master' ' --override projects.lttng-tools.source=' + lttng_tools_url + ' --override projects.lttng-tools.checkout='