From 63e5d321f155ae1291943cabcec554043c9521d9 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 9 Jul 2016 00:48:29 +0100 Subject: [PATCH] make test runner work on windows --- test_runner.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_runner.cc b/test_runner.cc index 69df863..ac6f87d 100644 --- a/test_runner.cc +++ b/test_runner.cc @@ -58,6 +58,9 @@ int main() { String exepath = testdir; exepath += PathSeparator; exepath += modname; +#ifdef OSTD_PLATFORM_WIN32 + exepath += ".exe"; +#endif auto cxxcmd = appender(); format(cxxcmd, "%s %s%s%s -o %s %s", compiler, testdir, PathSeparator,