Unset BUILD_NUMBER in build_test.bash
To make build server incrementals of build_test actually incremental. Test: Set different BUILD_NUMBERs, run build_test.bash --incremental Change-Id: Ice0e9a6f6c1dd3a3e0332b98081e82a3df74ce59
This commit is contained in:
@@ -27,6 +27,10 @@
|
|||||||
# that's detected in the Go code, which skips calculating the startup time.
|
# that's detected in the Go code, which skips calculating the startup time.
|
||||||
export TRACE_BEGIN_SOONG=$(date +%s%N)
|
export TRACE_BEGIN_SOONG=$(date +%s%N)
|
||||||
|
|
||||||
|
# Remove BUILD_NUMBER so that incremental builds on build servers don't
|
||||||
|
# re-read makefiles every time.
|
||||||
|
unset BUILD_NUMBER
|
||||||
|
|
||||||
export TOP=$(cd $(dirname ${BASH_SOURCE[0]})/../..; PWD= /bin/pwd)
|
export TOP=$(cd $(dirname ${BASH_SOURCE[0]})/../..; PWD= /bin/pwd)
|
||||||
cd "${TOP}"
|
cd "${TOP}"
|
||||||
source "${TOP}/build/soong/scripts/microfactory.bash"
|
source "${TOP}/build/soong/scripts/microfactory.bash"
|
||||||
|
Reference in New Issue
Block a user