[zorg] r364017 - [GN] Report check-clang-tools error as warning
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 21 02:54:54 PDT 2019
Author: vitalybuka
Date: Fri Jun 21 02:54:54 2019
New Revision: 364017
URL: http://llvm.org/viewvc/llvm-project?rev=364017&view=rev
Log:
[GN] Report check-clang-tools error as warning
Modified:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh?rev=364017&r1=364016&r2=364017&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_gn.sh Fri Jun 21 02:54:54 2019
@@ -55,6 +55,11 @@ buildbot_update_git
cd $STAGE2_DIR
for TARGET in "" $(ninja -t targets | grep -o "^check-[^:]*") ; do
echo @@@BUILD_STEP ninja $TARGET@@@
- ninja $TARGET || echo @@@STEP_FAILURE@@@
+ if [[ "$TARGET" == "check-clang-tools" ]] ; then
+ STEP_ERROR=@@@STEP_WARNINGS@@@
+ else
+ STEP_ERROR=@@@STEP_FAILURE@@@
+ fi
+ ninja $TARGET || echo $STEP_ERROR
done
)
More information about the llvm-commits
mailing list