From 6830a3161762713fd1e1d22a6de4294c5df4ab65 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 21 May 2019 18:07:25 -0400 Subject: Fix generator.py on non-windows --- suite/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/generator.py b/suite/generator.py index 044a9fe0..27455914 100755 --- a/suite/generator.py +++ b/suite/generator.py @@ -177,7 +177,7 @@ class UnitTestFile: api_path = os.path.normpath(api_path) api_path = map(lambda x: '"{0}"'.format(x), api_path.split(os.sep)) api_path = '{0}'.format(', '.join(api_path)) - test_store = self.test_store.replace(os.sep, '/') if os.name == 'nt' else test_store + test_store = self.test_store.replace(os.sep, '/') if os.name == 'nt' else self.test_store self.f.write(self.template.format(self.outdir, self.tests, self.binary_tests, test_store, api_path).encode('charmap')) self.f.close() -- cgit v1.3.1