From 6a463503a7a2d0c8f2d76c5633b9c9308b3c850c Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Wed, 7 Feb 2024 18:40:36 -0500 Subject: [PATCH] add cd for jenkins replacement scripts (#31355) fix dirs --- selfdrive/car/tests/big_cars_test.sh | 4 ++++ selfdrive/test/scons_build_test.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/selfdrive/car/tests/big_cars_test.sh b/selfdrive/car/tests/big_cars_test.sh index 6142fe841..af45c9cd1 100755 --- a/selfdrive/car/tests/big_cars_test.sh +++ b/selfdrive/car/tests/big_cars_test.sh @@ -1,5 +1,9 @@ #!/bin/bash +SCRIPT_DIR=$(dirname "$0") +BASEDIR=$(realpath "$SCRIPT_DIR/../../../") +cd $BASEDIR + MAX_EXAMPLES=300 INTERNAL_SEG_CNT=300 FILEREADER_CACHE=1 diff --git a/selfdrive/test/scons_build_test.sh b/selfdrive/test/scons_build_test.sh index 7614017c5..a3b33f797 100755 --- a/selfdrive/test/scons_build_test.sh +++ b/selfdrive/test/scons_build_test.sh @@ -1,5 +1,9 @@ #!/bin/bash +SCRIPT_DIR=$(dirname "$0") +BASEDIR=$(realpath "$SCRIPT_DIR/../../") +cd $BASEDIR + # tests that our build system's dependencies are configured properly, # needs a machine with lots of cores scons --clean