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;
|
String exepath = testdir;
|
||||||
exepath += PathSeparator;
|
exepath += PathSeparator;
|
||||||
exepath += modname;
|
exepath += modname;
|
||||||
|
#ifdef OSTD_PLATFORM_WIN32
|
||||||
|
exepath += ".exe";
|
||||||
|
#endif
|
||||||
|
|
||||||
auto cxxcmd = appender<String>();
|
auto cxxcmd = appender<String>();
|
||||||
format(cxxcmd, "%s %s%s%s -o %s %s", compiler, testdir, PathSeparator,
|
format(cxxcmd, "%s %s%s%s -o %s %s", compiler, testdir, PathSeparator,
|
||||||
|
|
Loading…
Reference in a new issue