lava_rpc_connector: Switch USE_TUXSUITE_FVP to assumed default of enabled
I.e. if a job doesn't have explicit the param with "0" value, assume it's
enabled.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I3c271d2a7de5b31ef94b018dd95ebfa9d96ddc6b
diff --git a/tfm_ci_pylib/lava_rpc_connector.py b/tfm_ci_pylib/lava_rpc_connector.py
index 1e27932..ae486b1 100644
--- a/tfm_ci_pylib/lava_rpc_connector.py
+++ b/tfm_ci_pylib/lava_rpc_connector.py
@@ -244,7 +244,7 @@
device_type = self.device_type_from_def(job_data)
- if device_type == "fvp" and os.environ.get("USE_TUXSUITE_FVP", "0") == "1":
+ if device_type == "fvp" and os.environ.get("USE_TUXSUITE_FVP", "1") != "0":
output = subprocess.check_output(
"python3 -u -m tuxsuite test submit --no-wait --device fvp-lava --job-definition %s" % job_definition,
shell=True,