aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-18 18:37:44 +0100
committerDavid Robillard <d@drobilla.net>2018-11-18 18:37:54 +0100
commit564eb1290001553041d1b1a5ccbcb8ea9ef8878d (patch)
tree85918a00915a6e37ff19c4e602911bd5212c985e /wscript
parent57b5233e5b3ace691e0709ac3b58348b2e091ce8 (diff)
downloadserd-564eb1290001553041d1b1a5ccbcb8ea9ef8878d.tar.gz
serd-564eb1290001553041d1b1a5ccbcb8ea9ef8878d.tar.bz2
serd-564eb1290001553041d1b1a5ccbcb8ea9ef8878d.zip
Simplify test flags code
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 1 insertions, 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