[tbb-commits] [tor-browser-bundle/master] Add BUILD_TBB_FAKE_STATUS knob.

gk at torproject.org gk at torproject.org
Thu Aug 18 12:49:50 UTC 2016


commit 028d1d1e9385e5bc254d228c986872c136225cbb
Author: Linus Nordberg <linus at torproject.org>
Date:   Mon Apr 25 11:05:52 2016 +0200

    Add BUILD_TBB_FAKE_STATUS knob.
    
    Useful when testing parts of the machinery not related to the actualy
    build, like uploading to remote host. Set BUILD_TBB_FAKE_STATUS to
    'done' and the script will skip the build part.
---
 tools/continuous-builds/build-tbb.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/continuous-builds/build-tbb.sh b/tools/continuous-builds/build-tbb.sh
index 37e912a..7a7e812 100755
--- a/tools/continuous-builds/build-tbb.sh
+++ b/tools/continuous-builds/build-tbb.sh
@@ -43,6 +43,7 @@ logfile=build-logs/$(date -u +%s).log
 
 cd $BUILDDIR || exit 1
 status=init
+[ -n "$BUILD_TBB_FAKE_STATUS" ] && status=$BUILD_TBB_FAKE_STATUS
 n=0
 MAKE_TARGET=$TARGET
 while [ $status != done ]; do



More information about the tbb-commits mailing list