Skip to content
Permalink
Browse files

Fixed error test for build failures

  • Loading branch information...
derickr committed Jun 23, 2019
1 parent ef17f6d commit 059d6f472673089da53c009dfd0a6b90fe71c663
Showing with 1 addition and 1 deletion.
  1. +1 −1 .xdebugci/test-thread.sh
@@ -24,7 +24,7 @@ for i in $@; do
printf "%2d %6d: Rebuilding for %s\n" $TID $BASHPID $i
./rebuild.sh >/tmp/ptester/logs/$i.build.log 2>&1

if [ "$?" == "1" ]; then
if [ "$?" != "0" ]; then
printf "%2d %6d: Build failed for %s\n" $TID $BASHPID $i
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?><testsuites buildFailed=\"1\" buildLogFile=\"/tmp/ptester/logs/$i.build.log\"/>" >> /tmp/ptester/junit/${i}.xml
else

0 comments on commit 059d6f4

Please sign in to comment.
You can’t perform that action at this time.