[prev in list] [next in list] [prev in thread] [next in thread]
List: darcs-devel
Subject: [darcs-devel] [patch1051] remove trackdown-bisect.sh long tests
From: Guillaume Hoffmann <bugs () darcs ! net>
Date: 2013-02-21 13:55:20
Message-ID: 5126272e.260eb40a.20f1.ffff9171 () mx ! google ! com
[Download RAW message or body]
New submission from Guillaume Hoffmann <guillaumh@gmail.com>:
Discussed around there: http://irclog.perlgeek.de/darcs/2013-02-21#i_6482054
This test used to run in ~1min20 on my machine (per kind of patch semantics=
).
As I'm not conviced that running tests on big repos is actually useful in t=
he
testsuite, I've removed the long repos cases. The test now takes 5s per pat=
ch
semantics.
1 patch for repository http://darcs.net:
Thu Feb 21 14:51:36 CET 2013 Guillaume Hoffmann <guillaumh@gmail.com>
* remove trackdown-bisect.sh long tests
----------
files: patch-preview.txt, remove-trackdown_bisect_sh-long-tests.dpatch, unn=
amed
messages: 16704
nosy: gh
status: needs-screening
title: remove trackdown-bisect.sh long tests
__________________________________
Darcs bug tracker <bugs@darcs.net>
<http://bugs.darcs.net/patch1051>
__________________________________
["patch-preview.txt" (text/x-darcs-patch)]
[remove trackdown-bisect.sh long tests
Guillaume Hoffmann <guillaumh@gmail.com>**20130221135136
Ignore-this: ecaab0d56ac7bfe4e97797c0931fd689
] hunk ./tests/trackdown-bisect.sh 87
testTrackdown '[1,0,0,0,0]' 2
}
-# TEST05: Long repo with success condition as first patch ever
-test05() {
-testTrackdown '[1,0,0,0,0,0,0,0,0,0,0]' 2
-}
-
-# TEST06: Long repo with success condition as sixth patch
-test06() {
-testTrackdown '[1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0]' 7
-}
-
-# TEST07: Long repo with success condition very near the head
-test07() {
-testTrackdown '[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0]' \
54
-}
-
-# TEST08: Long repo with with success condition very near the head
-test08() {
-testTrackdown '[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0]' \
55
-}
-
-# TEST09: Long repo with non-monotone errors / success distribution
-# This test only tests that it will not crash...
-test09() {
-testTrackdown '[1,1,1,1,1,1,0,0,0,0,1,0,0,1,0,0,0,0,0,0]' 7
-}
-
#############################################
# call test-cases for linear trackdown
#############################################
hunk ./tests/trackdown-bisect.sh 93
test_args='--linear'
test01
test02
-test03
-test04
-test05
-test06
-test07
-test08
#############################################
# Call test-cases for bisect trackdown
#############################################
hunk ./tests/trackdown-bisect.sh 101
test02
test03
test04
-test05
-test06
-test07
-test08
-test09 # only for --bisect and --backoff
#############################################
# Call test-cases for backoff trackdown
#############################################
hunk ./tests/trackdown-bisect.sh 109
test02
test03
test04
-test05
-test06
-test07
-test08
-test09 # only for --bisect and --backoff
["remove-trackdown_bisect_sh-long-tests.dpatch" (application/x-darcs-patch)]
["unnamed" (application/octet-stream)]
_______________________________________________
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic