forked from OctaForge/libostd
make test runner work on windows
This commit is contained in:
parent
4dbe64a0e9
commit
63e5d321f1
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue