From 1509ff6e237b30430ba811d8d53e3fa8466d5614 Mon Sep 17 00:00:00 2001 From: Niles Rogoff Date: Thu, 21 Jul 2016 14:15:28 -0700 Subject: [PATCH] Fixed bug in testing suite where only images for the first input image would be generated --- test/run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/run.py b/test/run.py index a5efe3c..81b5a27 100644 --- a/test/run.py +++ b/test/run.py @@ -8,7 +8,7 @@ files = glob.glob("*") del files[files.index("gentest.py")] del files[files.index("run.py")] if not os.path.isdir("out"): os.mkdir("out") -def run(bits, percolor, dither, nonrandom): +def run(f,bits, percolor, dither, nonrandom): if not percolor: percolor = [] pc = "" @@ -40,8 +40,8 @@ for f in files: for nonrandom in [False, "7", "10", "auto"]: for percolor in [False, True]: if nonrandom and not dither: continue - torun.append([bits, percolor, dither, nonrandom]) -print(str(len(torun)) + " images to generate") + torun.append([f,bits, percolor, dither, nonrandom]) +print(str(len(torun)) + " images will be generated") i = 0 for args in torun: i += 1