From 2e5e37659e3ee1aed8bcd63d619f0793ba1d4c02 Mon Sep 17 00:00:00 2001 From: Lluis Campos Date: Tue, 1 Oct 2019 13:54:56 +0200 Subject: [PATCH] Avoid using the py.test wrapper and directly call python2 -m pytest As it might not be installed in some systems. Changelog: None Signed-off-by: Lluis Campos --- scripts/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index d4a5647..3828835 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -77,7 +77,7 @@ convert_and_test() { cd ${WORKSPACE}/mender-image-tests - py.test --verbose \ + python2 -m pytest --verbose \ --junit-xml="${WORKSPACE}/results.xml" \ --test-conversion \ --test-variables="${MENDER_CONVERT_DIR}/deploy/${device_type}-${artifact_name}.cfg" \