Skip to content

Commit

Permalink
fir llvm compile, run scram logoutput
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Nov 29, 2024
1 parent af5d6b6 commit cf031ff
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pr_testing/test_multiple_prs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -930,11 +930,9 @@ if [ "X$TEST_CLANG_COMPILATION" = Xtrue -a $NEED_CLANG_TEST = true -a "X$CMSSW_P
echo $CLANG_USER_CMD > $WORKSPACE/buildClang.log

(eval $CLANG_CMD && echo 'ALL_OK') >>$WORKSPACE/buildClang.log 2>&1 || true
if [ $(grep "^ALL_OK$" $WORKSPACE/buildClang.log | wc -l) -gt 0 ] ; then
(eval ${OK_ANALOG_CMD}) >>$WORKSPACE/buildClang.log 2>&1 || true
else
(eval ${ANALOG_CMD}) >>$WORKSPACE/buildClang.log 2>&1 || true
fi
#always run ${ANALOG_CMD} to print out the compile command which are normally printed when on runs full build
#in llvm case we are only doing compile (withoutlinking)
(eval ${ANALOG_CMD}) >>$WORKSPACE/buildClang.log 2>&1 || true

TEST_ERRORS=`grep -E "^gmake: .* Error [0-9]" $WORKSPACE/buildClang.log` || true
GENERAL_ERRORS=`grep "^ALL_OK$" $WORKSPACE/buildClang.log` || true
Expand Down

0 comments on commit cf031ff

Please sign in to comment.