make test runner work on windows

master
Daniel Kolesa 2016-07-09 00:48:29 +01:00
parent 4dbe64a0e9
commit 63e5d321f1
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,9 @@ int main() {
String exepath = testdir;
exepath += PathSeparator;
exepath += modname;
#ifdef OSTD_PLATFORM_WIN32
exepath += ".exe";
#endif
auto cxxcmd = appender<String>();
format(cxxcmd, "%s %s%s%s -o %s %s", compiler, testdir, PathSeparator,