jenkins: remove pc / car tests (#31353)

* move to scripts

* clean first

* cant have test_*?

* move
pull/31354/head
Justin Newberry 1 year ago committed by GitHub
parent 6933d0560a
commit 8f67d3cab9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 18
      Jenkinsfile
  2. 8
      selfdrive/car/tests/big_cars_test.sh
  3. 6
      selfdrive/test/scons_build_test.sh

18
Jenkinsfile vendored

@ -259,24 +259,6 @@ node {
])
},
// *** PC tests ***
'PC tests': {
pcStage("PC tests") {
// tests that our build system's dependencies are configured properly,
// needs a machine with lots of cores
sh label: "test multi-threaded build",
script: '''#!/bin/bash
scons --no-cache --random -j$(nproc)'''
}
},
'car tests': {
pcStage("car tests") {
sh label: "build", script: "selfdrive/manager/build.py"
sh label: "run car tests", script: "cd selfdrive/car/tests && MAX_EXAMPLES=300 INTERNAL_SEG_CNT=300 FILEREADER_CACHE=1 \
INTERNAL_SEG_LIST=selfdrive/car/tests/test_models_segs.txt pytest test_models.py test_car_interfaces.py"
}
},
)
}
} catch (Exception e) {

@ -0,0 +1,8 @@
#!/bin/bash
MAX_EXAMPLES=300
INTERNAL_SEG_CNT=300
FILEREADER_CACHE=1
INTERNAL_SEG_LIST=selfdrive/car/tests/test_models_segs.txt
cd selfdrive/car/tests && pytest test_models.py test_car_interfaces.py

@ -0,0 +1,6 @@
#!/bin/bash
# tests that our build system's dependencies are configured properly,
# needs a machine with lots of cores
scons --clean
scons --no-cache --random -j$(nproc)
Loading…
Cancel
Save