IQ.Pilot Release Commit @ 0798119
This commit is contained in:
20
selfdrive/test/scons_build_test.sh
Executable file
20
selfdrive/test/scons_build_test.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
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
|
||||
|
||||
# helpful commands:
|
||||
# scons -Q --tree=derived
|
||||
|
||||
cd $BASEDIR/iqdbc_repo/
|
||||
scons --clean
|
||||
scons --no-cache --random -j$(nproc)
|
||||
if ! scons -q; then
|
||||
echo "FAILED: all build products not up to date after first pass."
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user