From 56226b493192420d9909ec088c7999df0e4e3901 Mon Sep 17 00:00:00 2001 From: Luciano Martin Date: Fri, 27 Sep 2024 08:58:27 +0100 Subject: [PATCH] Disable tests again --- Jenkinsfile | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 32208d88..9c3081ce 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -144,45 +144,48 @@ pipeline { // } //} - // The USB tests must be run to avoid http://bugzilla.xmos.local/show_bug.cgi?id=18895 is fixed. + // TODO: Disabled till http://bugzilla.xmos.local/show_bug.cgi?id=18895 is fixed. + // This problem occurred in the USB tests if the HIL tests were run first. // Tools 15.3.1 should include the fix. - stage('Run RTOS Drivers USB test') { - steps { - withTools(params.TOOLS_VERSION) { - withVenv { - script { - withXTAG(["$RTOS_TEST_RIG_TARGET"]) { adapterIDs -> - sh "bash -l test/rtos_drivers/usb/check_usb.sh " + adapterIDs[0] - } - sh "pytest test/rtos_drivers/usb" - } - } - } - } - } - stage('Run RTOS Drivers HIL test') { + //stage('Run RTOS Drivers HIL test') { + // steps { + // withTools(params.TOOLS_VERSION) { + // withVenv { + // script { + // withXTAG(["$RTOS_TEST_RIG_TARGET"]) { adapterIDs -> + // sh "test/rtos_drivers/hil/check_drivers_hil.sh " + adapterIDs[0] + // } + // sh "pytest test/rtos_drivers/hil" + // } + // } + // } + // } + //} + + stage('Run RTOS Drivers HIL_Add test') { steps { withTools(params.TOOLS_VERSION) { withVenv { script { withXTAG(["$RTOS_TEST_RIG_TARGET"]) { adapterIDs -> - sh "test/rtos_drivers/hil/check_drivers_hil.sh " + adapterIDs[0] + sh "test/rtos_drivers/hil_add/check_drivers_hil_add.sh " + adapterIDs[0] } - sh "pytest test/rtos_drivers/hil" + sh "pytest test/rtos_drivers/hil_add" } } } } } - stage('Run RTOS Drivers HIL_Add test') { + + stage('Run RTOS Drivers USB test') { steps { withTools(params.TOOLS_VERSION) { withVenv { script { withXTAG(["$RTOS_TEST_RIG_TARGET"]) { adapterIDs -> - sh "test/rtos_drivers/hil_add/check_drivers_hil_add.sh " + adapterIDs[0] + sh "bash -l test/rtos_drivers/usb/check_usb.sh " + adapterIDs[0] } - sh "pytest test/rtos_drivers/hil_add" + sh "pytest test/rtos_drivers/usb" } } }