Go over runtests.sh excludes

This commit is contained in:
rocky
2020-02-16 17:43:13 -05:00
parent 5a6a41a608
commit 092874f8b5
2 changed files with 10 additions and 8 deletions

View File

@@ -3,14 +3,14 @@
function displaytime {
printf "ran in "
local T=$1
local D=$((T/60/60/24))
local H=$((T/60/60%24))
local M=$((T/60%60))
local S=$((T%60))
(( $D > 0 )) && printf '%d days ' $D
(( $H > 0 )) && printf '%d hours ' $H
(( $M > 0 )) && printf '%d minutes ' $M
(( $D > 0 || $H > 0 || $M > 0 )) && printf 'and '
((D=T/60/60/24))
((H=T/60/60%24))
((M=T/60%60))
((S=T%60))
(( D > 0 )) && printf '%d days ' $D
(( H > 0 )) && printf '%d hours ' $H
(( M > 0 )) && printf '%d minutes ' $M
(( D > 0 || H > 0 || M > 0 )) && printf 'and '
printf '%d seconds\n' $S
}

View File

@@ -96,6 +96,7 @@ SKIP_TESTS=(
[test_sys_settrace.py]=1 # test assert fail
[test_tcl.py]=1 # it fails on its own
[test_tempfile.py]=1 # test assertion failures
[test_thread.py]=1
[test_threading.py]=1
[test_timeout.py]=1
@@ -111,6 +112,7 @@ SKIP_TESTS=(
[test_urllib2net.py]=1 # it fails on its own
[test_urllibnet.py]=1 # it fails on its own
[test_urlparse.py]=1 # test assert error
[test_uu.py]=1 # test assert error
[test_winreg.py]=1 # it fails on its own
[test_winsound.py]=1 # it fails on its own