BUILD_CAUSE=UPSTREAMTRIGGER BUILD_CAUSE_UPSTREAMTRIGGER=true BUILD_DISPLAY_NAME=#1545 BUILD_ID=1545 BUILD_NUMBER=1545 BUILD_TAG=jenkins-tcwg-abe-test-label=tcwg-x86_64-build,test=abe-tests-checkout-1545 BUILD_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/1545/ EXECUTOR_NUMBER=1 GERRIT_BRANCH=master GERRIT_CHANGE_COMMIT_MESSAGE=lib/make.sh (make_check): Support various output buffering workarounds Similar to GDB's \"READ1\" mode, I experimented with several buffering workarounds for GCC. Since GCC's Makefiles have many check-* targets, it is not practicable to add a single check-read1 like GDB does. Instead, we could create a 'read1' rule in the top-level Makefile to build read1.so and expect-read1, like what GDB can do. Then, the usual check-* targets can be used, and we can override the READ1 environment variable as needed (as is already supported by GDB). Note that this requires a GCC patch which has not been submitted yet (and may never be, not sure how useful/usable it would be). This patch partially reverts a previous patch which added READ1 support for GDB, and adds the preliminary call to 'make read1' as needed. In addition to \"READ!\" more, this patch adds support for coreutils' stdbuf-based wrappers, provided as helper scripts. They can be used by overloading the EXPECT variable when calling 'make check'. A GCC patch to fully allow that will be submitted. The advantage of such wrappers is that the machinery is kept part of ABE. Change-Id: I184a486c7101550ad3cd0de12ddb7fd26a8deb7f GERRIT_CHANGE_ID=I184a486c7101550ad3cd0de12ddb7fd26a8deb7f GERRIT_CHANGE_NUMBER=46066 GERRIT_CHANGE_OWNER=\"Christophe Lyon\" GERRIT_CHANGE_OWNER_EMAIL=christophe.lyon@linaro.org GERRIT_CHANGE_OWNER_NAME=Christophe Lyon GERRIT_CHANGE_PRIVATE_STATE=false GERRIT_CHANGE_SUBJECT=lib/make.sh (make_check): Support various output buffering workarounds GERRIT_CHANGE_URL=https://review.linaro.org/c/toolchain/abe/+/46066 GERRIT_CHANGE_WIP_STATE=true GERRIT_EVENT_ACCOUNT=\"Christophe Lyon\" GERRIT_EVENT_ACCOUNT_EMAIL=christophe.lyon@linaro.org GERRIT_EVENT_ACCOUNT_NAME=Christophe Lyon GERRIT_EVENT_HASH=-166836684 GERRIT_EVENT_TYPE=patchset-created GERRIT_HOST=review.linaro.org GERRIT_NAME=review.linaro.org GERRIT_PATCHSET_NUMBER=10 GERRIT_PATCHSET_REVISION=ce0821dd07c480fa0826f6306a5f0e50cf3301aa GERRIT_PATCHSET_UPLOADER=\"Christophe Lyon\" GERRIT_PATCHSET_UPLOADER_EMAIL=christophe.lyon@linaro.org GERRIT_PATCHSET_UPLOADER_NAME=Christophe Lyon GERRIT_PORT=29418 GERRIT_PROJECT=toolchain/abe GERRIT_REFSPEC=refs/changes/66/46066/10 GERRIT_SCHEME=ssh GERRIT_TOPIC= GERRIT_VERSION=3.8.1 HOME=/home/tcwg-buildslave HOSTNAME=build-08 HUDSON_HOME=/var/jenkins_home HUDSON_SERVER_COOKIE=bd3c6a001cafdac9 HUDSON_URL=https://ci.linaro.org/ JENKINS_HOME=/var/jenkins_home JENKINS_SERVER_COOKIE=bd3c6a001cafdac9 JENKINS_URL=https://ci.linaro.org/ JOB_BASE_NAME=label=tcwg-x86_64-build,test=abe-tests-checkout JOB_NAME=tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout JOB_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/ LANG=en_US.UTF-8 LOGNAME=tcwg-buildslave MAIL=/var/mail/tcwg-buildslave NODE_LABELS=tcwg tcwg-build tcwg-fast-disk tcwg-parallel-jobs tcwg-x86_32-build tcwg-x86_64 tcwg-x86_64-2-cam tcwg-x86_64-build tcwg-x86_64-build-08 tcwg-x86_64-cam NODE_NAME=tcwg-x86_64-build-08 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin PWD=/home/tcwg-buildslave ROOT_BUILD_CAUSE=SCMTRIGGER ROOT_BUILD_CAUSE_SCMTRIGGER=true RUN_ARTIFACTS_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/1545/display/redirect?page=artifacts RUN_CHANGES_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/1545/display/redirect?page=changes RUN_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/1545/display/redirect RUN_TESTS_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=abe-tests-checkout/1545/display/redirect?page=tests SHELL=/bin/bash SHLVL=0 SUDO_COMMAND=/bin/bash -c java -jar /home/tcwg-buildslave/jenkins-workdir-tcwg-x86_64-build-08/agent.jar -jnlpUrl https://ci.linaro.org/computer/tcwg-x86_64-build-08/slave-agent.jnlp -noReconnect -secret @jenkins/tcwg-x86_64-build-08.secret -workDir /home/tcwg-buildslave/jenkins-workdir-tcwg-x86_64-build-08 SUDO_GID=0 SUDO_UID=0 SUDO_USER=root TERM=xterm USER=tcwg-buildslave _=/usr/bin/java dryrun=false label=tcwg-x86_64-build scripts_branch=master test=abe-tests-checkout test_list=cross_build native_build testsuite abe-tests abe-tests-checkout