diff options
author | 2015-05-12 21:34:57 -0700 | |
---|---|---|
committer | 2015-05-12 21:34:57 -0700 | |
commit | 52c6801cfb85f1fe3b17ed448f6fea1bcf2678b9 (patch) | |
tree | 7f1f93bc11f97ba202d00dee6bbbb4df77f093ed /tools | |
parent | dc67ea7bccc25984581bf114f6406e8181a9c6fc (diff) | |
parent | e1445368526e047d1f50a81c0194c1ca902b4d70 (diff) |
Merge pull request #1563 from nicolasnoble/more-win32-fixes
Various Win32 fixes and improvements.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/run_tests.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index 50fdec7f5f..4ba92a813e 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -107,6 +107,7 @@ class CLanguage(object): plat = 'windows' else: plat = 'posix' + self.platform = plat with open('tools/run_tests/tests.json') as f: js = json.load(f) self.binaries = [tgt @@ -119,9 +120,12 @@ class CLanguage(object): for target in self.binaries: if travis and target['flaky']: continue - binary = 'bins/%s/%s' % (config.build_config, target['name']) + if self.platform == 'windows': + binary = 'vsprojects\\test_bin\\%s.exe' % (target['name']) + else: + binary = 'bins/%s/%s' % (config.build_config, target['name']) out.append(config.job_spec([binary], [binary])) - return out + return sorted(out) def make_targets(self): return ['buildtests_%s' % self.make_target] |