add cd for jenkins replacement scripts (#31355)

fix dirs
pull/31358/head
Justin Newberry 1 year ago committed by GitHub
parent 92025ecbbd
commit 6a463503a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      selfdrive/car/tests/big_cars_test.sh
  2. 4
      selfdrive/test/scons_build_test.sh

@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
SCRIPT_DIR=$(dirname "$0")
BASEDIR=$(realpath "$SCRIPT_DIR/../../../")
cd $BASEDIR
MAX_EXAMPLES=300 MAX_EXAMPLES=300
INTERNAL_SEG_CNT=300 INTERNAL_SEG_CNT=300
FILEREADER_CACHE=1 FILEREADER_CACHE=1

@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
SCRIPT_DIR=$(dirname "$0")
BASEDIR=$(realpath "$SCRIPT_DIR/../../")
cd $BASEDIR
# tests that our build system's dependencies are configured properly, # tests that our build system's dependencies are configured properly,
# needs a machine with lots of cores # needs a machine with lots of cores
scons --clean scons --clean

Loading…
Cancel
Save