Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
79415523
Commit
79415523
authored
Feb 15, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Find test failures consistently
parent
219c164a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Misc/build.sh
Misc/build.sh
+2
-2
No files found.
Misc/build.sh
View file @
79415523
...
@@ -146,7 +146,7 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
...
@@ -146,7 +146,7 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
F
=
make-test.out
F
=
make-test.out
start
=
`
current_time
`
start
=
`
current_time
`
make
test
>
& build/
$F
make
test
>
& build/
$F
NUM_FAILURES
=
`
grep
-ic
"
test
failed:"
build/
$F
`
NUM_FAILURES
=
`
grep
-ic
" failed:"
build/
$F
`
update_status
"Testing basics (
$NUM_FAILURES
failures)"
"
$F
"
$start
update_status
"Testing basics (
$NUM_FAILURES
failures)"
"
$F
"
$start
## FIXME: should mail since -uall below should find same problems
## FIXME: should mail since -uall below should find same problems
mail_on_failure
"basics"
build/
$F
mail_on_failure
"basics"
build/
$F
...
@@ -165,7 +165,7 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
...
@@ -165,7 +165,7 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then
## skip curses when running from cron since there's no terminal
## skip curses when running from cron since there's no terminal
## skip sound since it's not setup on the PSF box (/dev/dsp)
## skip sound since it's not setup on the PSF box (/dev/dsp)
./python
-E
-tt
./Lib/test/regrtest.py
-uall
-x
test_curses test_linuxaudiodev test_ossaudiodev
>
& build/
$F
./python
-E
-tt
./Lib/test/regrtest.py
-uall
-x
test_curses test_linuxaudiodev test_ossaudiodev
>
& build/
$F
NUM_FAILURES
=
`
grep
-ic
fail
build/
$F
`
NUM_FAILURES
=
`
grep
-ic
" failed:"
build/
$F
`
update_status
"Testing all except curses and sound (
$NUM_FAILURES
failures)"
"
$F
"
$start
update_status
"Testing all except curses and sound (
$NUM_FAILURES
failures)"
"
$F
"
$start
mail_on_failure
"all"
build/
$F
mail_on_failure
"all"
build/
$F
fi
fi
...
...
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