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,