Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb44f26

Browse files
committed
Support the new doc system. Also test_compiler was removed in 3k
1 parent 116aa62 commit cb44f26

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

Misc/build.sh

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,8 @@ ALWAYS_SKIP="-x $_ALWAYS_SKIP"
7575

7676
# Skip these tests altogether when looking for leaks. These tests
7777
# do not need to be stored above in LEAKY_TESTS too.
78-
# test_compiler almost never finishes with the same number of refs
79-
# since it depends on other modules, skip it.
8078
# test_logging causes hangs, skip it.
81-
LEAKY_SKIPS="-x test_compiler test_logging $_ALWAYS_SKIP"
79+
LEAKY_SKIPS="-x test_logging $_ALWAYS_SKIP"
8280

8381
# Change this flag to "yes" for old releases to only update/build the docs.
8482
BUILD_DISABLED="no"
@@ -218,17 +216,23 @@ fi
218216
cd $DIR/Doc
219217
F="make-doc.out"
220218
start=`current_time`
219+
# XXX(nnorwitz): For now, keep the code that checks for a conflicted file until
220+
# after the first release of 2.6a1 or 3.0a1. At that point, it will be clear
221+
# if there will be a similar problem with the new doc system.
222+
223+
# At that point, it should be clear if this code is needed or not.
221224
# Doc/commontex/boilerplate.tex is expected to always have an outstanding
222225
# modification for the date. When a release is cut, a conflict occurs.
223226
# This allows us to detect this problem and not try to build the docs
224227
# which will definitely fail with a conflict.
225-
CONFLICTED_FILE=commontex/boilerplate.tex
226-
conflict_count=`grep -c "<<<" $CONFLICTED_FILE`
228+
#CONFLICTED_FILE=commontex/boilerplate.tex
229+
#conflict_count=`grep -c "<<<" $CONFLICTED_FILE`
230+
conflict_count=0
227231
if [ $conflict_count != 0 ]; then
228232
echo "Conflict detected in $CONFLICTED_FILE. Doc build skipped." > ../build/$F
229233
err=1
230234
else
231-
make >& ../build/$F
235+
make html >& ../build/$F
232236
err=$?
233237
fi
234238
update_status "Making doc" "$F" $start
@@ -242,6 +246,6 @@ echo "</body>" >> $RESULT_FILE
242246
echo "</html>" >> $RESULT_FILE
243247

244248
## copy results
245-
rsync $RSYNC_OPTS html/* $REMOTE_SYSTEM:$REMOTE_DIR
249+
rsync $RSYNC_OPTS build/html/* $REMOTE_SYSTEM:$REMOTE_DIR
246250
cd ../build
247251
rsync $RSYNC_OPTS index.html *.out $REMOTE_SYSTEM:$REMOTE_DIR/results/

0 commit comments

Comments
 (0)