make test runner work on windows

This commit is contained in:
q66 2016-07-09 00:48:29 +01:00
parent 4dbe64a0e9
commit 63e5d321f1

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,