BUILD_CAUSE=UPSTREAMTRIGGER BUILD_CAUSE_UPSTREAMTRIGGER=true BUILD_DISPLAY_NAME=#1525 BUILD_ID=1525 BUILD_NUMBER=1525 BUILD_TAG=jenkins-tcwg-abe-test-label=tcwg-x86_64-build,test=native_build-1525 BUILD_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=native_build/1525/ EXECUTOR_NUMBER=0 GERRIT_BRANCH=master GERRIT_CHANGE_COMMIT_MESSAGE=[WIP] lib/make.sh (make_check): Prepare support for various output buffering workarounds 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). This patch partially reverts a previous patch which added READ1 support for GDB, and adds the preliminary call to 'make read1' as needed. For GCC, we still default to use_read1=false until the corresponding GCC patch is merged. For GCC (and maybe for GDB too, later), we could also consider making expect-read1 etc... part of ABE, and build it outside of GCC/GDB. Finally, in addition to READ1, we can think about using coreutils' stdbuf. 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=[WIP] lib/make.sh (make_check): Prepare support for 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=-1797918125 GERRIT_EVENT_TYPE=patchset-created GERRIT_HOST=review.linaro.org GERRIT_NAME=review.linaro.org GERRIT_PATCHSET_NUMBER=2 GERRIT_PATCHSET_REVISION=f20c9600428e38f6986d6c8157fb83358755c5c0 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/2 GERRIT_SCHEME=ssh GERRIT_TOPIC= GERRIT_VERSION=3.8.1 HOME=/home/tcwg-buildslave HOSTNAME=build-07 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=native_build JOB_NAME=tcwg-abe-test/label=tcwg-x86_64-build,test=native_build JOB_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=native_build/ 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-07 tcwg-x86_64-cam NODE_NAME=tcwg-x86_64-build-07 PATH=/home/tcwg-buildslave/bin:/home/tcwg-buildslave/.local/bin:/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=native_build/1525/display/redirect?page=artifacts RUN_CHANGES_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=native_build/1525/display/redirect?page=changes RUN_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=native_build/1525/display/redirect RUN_TESTS_DISPLAY_URL=https://ci.linaro.org/job/tcwg-abe-test/label=tcwg-x86_64-build,test=native_build/1525/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-07/agent.jar -jnlpUrl https://ci.linaro.org/computer/tcwg-x86_64-build-07/slave-agent.jnlp -noReconnect -secret @jenkins/tcwg-x86_64-build-07.secret -workDir /home/tcwg-buildslave/jenkins-workdir-tcwg-x86_64-build-07 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=native_build test_list=cross_build native_build testsuite abe-tests abe-tests-checkout