Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
cb44f268
Kaydet (Commit)
cb44f268
authored
Agu 16, 2007
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Support the new doc system. Also test_compiler was removed in 3k
üst
116aa62b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
build.sh
Misc/build.sh
+11
-7
No files found.
Misc/build.sh
Dosyayı görüntüle @
cb44f268
...
@@ -75,10 +75,8 @@ ALWAYS_SKIP="-x $_ALWAYS_SKIP"
...
@@ -75,10 +75,8 @@ ALWAYS_SKIP="-x $_ALWAYS_SKIP"
# Skip these tests altogether when looking for leaks. These tests
# Skip these tests altogether when looking for leaks. These tests
# do not need to be stored above in LEAKY_TESTS too.
# do not need to be stored above in LEAKY_TESTS too.
# test_compiler almost never finishes with the same number of refs
# since it depends on other modules, skip it.
# test_logging causes hangs, skip it.
# test_logging causes hangs, skip it.
LEAKY_SKIPS
=
"-x test_
compiler test_
logging
$_ALWAYS_SKIP
"
LEAKY_SKIPS
=
"-x test_logging
$_ALWAYS_SKIP
"
# Change this flag to "yes" for old releases to only update/build the docs.
# Change this flag to "yes" for old releases to only update/build the docs.
BUILD_DISABLED
=
"no"
BUILD_DISABLED
=
"no"
...
@@ -218,17 +216,23 @@ fi
...
@@ -218,17 +216,23 @@ fi
cd
$DIR
/Doc
cd
$DIR
/Doc
F
=
"make-doc.out"
F
=
"make-doc.out"
start
=
`
current_time
`
start
=
`
current_time
`
# XXX(nnorwitz): For now, keep the code that checks for a conflicted file until
# after the first release of 2.6a1 or 3.0a1. At that point, it will be clear
# if there will be a similar problem with the new doc system.
# At that point, it should be clear if this code is needed or not.
# Doc/commontex/boilerplate.tex is expected to always have an outstanding
# Doc/commontex/boilerplate.tex is expected to always have an outstanding
# modification for the date. When a release is cut, a conflict occurs.
# modification for the date. When a release is cut, a conflict occurs.
# This allows us to detect this problem and not try to build the docs
# This allows us to detect this problem and not try to build the docs
# which will definitely fail with a conflict.
# which will definitely fail with a conflict.
CONFLICTED_FILE
=
commontex/boilerplate.tex
#CONFLICTED_FILE=commontex/boilerplate.tex
conflict_count
=
`
grep
-c
"<<<"
$CONFLICTED_FILE
`
#conflict_count=`grep -c "<<<" $CONFLICTED_FILE`
conflict_count
=
0
if
[
$conflict_count
!=
0
]
;
then
if
[
$conflict_count
!=
0
]
;
then
echo
"Conflict detected in
$CONFLICTED_FILE
. Doc build skipped."
>
../build/
$F
echo
"Conflict detected in
$CONFLICTED_FILE
. Doc build skipped."
>
../build/
$F
err
=
1
err
=
1
else
else
make
>
& ../build/
$F
make
html
>
& ../build/
$F
err
=
$?
err
=
$?
fi
fi
update_status
"Making doc"
"
$F
"
$start
update_status
"Making doc"
"
$F
"
$start
...
@@ -242,6 +246,6 @@ echo "</body>" >> $RESULT_FILE
...
@@ -242,6 +246,6 @@ echo "</body>" >> $RESULT_FILE
echo
"</html>"
>>
$RESULT_FILE
echo
"</html>"
>>
$RESULT_FILE
## copy results
## copy results
rsync
$RSYNC_OPTS
html/
*
$REMOTE_SYSTEM
:
$REMOTE_DIR
rsync
$RSYNC_OPTS
build/
html/
*
$REMOTE_SYSTEM
:
$REMOTE_DIR
cd
../build
cd
../build
rsync
$RSYNC_OPTS
index.html
*
.out
$REMOTE_SYSTEM
:
$REMOTE_DIR
/results/
rsync
$RSYNC_OPTS
index.html
*
.out
$REMOTE_SYSTEM
:
$REMOTE_DIR
/results/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment