From 564eb1290001553041d1b1a5ccbcb8ea9ef8878d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Nov 2018 18:37:44 +0100 Subject: Simplify test flags code --- wscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wscript b/wscript index a3935c41..65b5707a 100644 --- a/wscript +++ b/wscript @@ -356,8 +356,7 @@ def test_suite(ctx, base_uri, testdir, report, isyntax, osyntax, options=''): thru_flags = ['-e', '-f', '-b', '-r http://example.org/'] thru_options = [] for n in range(len(thru_flags) + 1): - for flags in itertools.combinations(thru_flags, n): - thru_options += [flags] + thru_options += list(itertools.combinations(thru_flags, n)) thru_options_iter = itertools.cycle(thru_options) quiet = not Options.options.verbose_tests -- cgit v1.2.1