Skip to content

Commit

Permalink
Disable tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
xluciano committed Sep 27, 2024
1 parent 2b4da0b commit 56226b4
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down

0 comments on commit 56226b4

Please sign in to comment.