[SCM] ci-tooling packaging branch, master, updated. b9c32789e6dcfefd17d16467f68749d06b5bab8f
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Fri Feb 27 13:41:01 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=b9c3278
The following commit has been merged in the master branch:
commit b9c32789e6dcfefd17d16467f68749d06b5bab8f
Author: Harald Sitter <sitter at kde.org>
Date: Fri Feb 27 14:40:58 2015 +0100
fix thread pool test to not have code that only gets run on failure
screwes with coverage reports
---
test/test_thread_pool.rb | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/test/test_thread_pool.rb b/test/test_thread_pool.rb
index 785ffa3..1252701 100644
--- a/test/test_thread_pool.rb
+++ b/test/test_thread_pool.rb
@@ -39,10 +39,7 @@ class BlockingThreadPoolTest < Test::Unit::TestCase
errors << 'Thread aborting' if Thread.current.abort_on_exception
end
- until errors.empty?
- error = errors.pop
- assert(false, error)
- end
+ assert(errors.empty?, 'abortion settings do not match expectation')
end
def test_thread_pool_count
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list