mirror of https://github.com/ArduPilot/ardupilot
autotest: use build path on faster filesystem
This commit is contained in:
parent
a745bad5b0
commit
2fb8aba1b2
|
@ -118,6 +118,9 @@ killall -9 JSBSim || /bin/true
|
|||
# raise core limit
|
||||
ulimit -c 10000000
|
||||
|
||||
# build in home dir, as on faster storage
|
||||
export BUILD_BINARIES_PATH=$HOME/build/tmp
|
||||
|
||||
timelimit 32000 APM/Tools/autotest/autotest.py --timeout=30000 > buildlogs/autotest-output.txt 2>&1
|
||||
|
||||
(cd buildlogs && cp -f *.txt *.flashlog *.tlog *.km[lz] *.gpx *.html *.png *.bin *.BIN *.elf "history/$hdate/")
|
||||
|
|
|
@ -680,7 +680,10 @@ is bob we will attempt to checkout bob-AVR'''
|
|||
origin_env_path = os.environ.get("PATH")
|
||||
os.environ["PATH"] = ':'.join([prefix_bin_dirpath, origin_env_path,
|
||||
"/bin", "/usr/bin"])
|
||||
self.tmpdir = os.path.join(os.getcwd(), 'build.tmp.binaries')
|
||||
if 'BUILD_BINARIES_PATH' in os.environ:
|
||||
self.tmpdir = os.environ['BUILD_BINARIES_PATH']
|
||||
else:
|
||||
self.tmpdir = os.path.join(os.getcwd(), 'build.tmp.binaries')
|
||||
os.environ["TMPDIR"] = self.tmpdir
|
||||
|
||||
print(self.tmpdir)
|
||||
|
|
Loading…
Reference in New Issue