diff options
| author | Glenn Smith <couleeapps@gmail.com> | 2019-05-21 18:07:25 -0400 |
|---|---|---|
| committer | Glenn Smith <couleeapps@gmail.com> | 2019-05-21 18:07:25 -0400 |
| commit | 6830a3161762713fd1e1d22a6de4294c5df4ab65 (patch) | |
| tree | 8a93e4dc4fd0fd3bd1e367caad6b70a6471b1dcc | |
| parent | c885b7a4c47f16a1c69612215a1cab5c9f7df5eb (diff) | |
Fix generator.py on non-windows
| -rwxr-xr-x | suite/generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
