workflows: add tests.yml

This commit is contained in:
nillerusr
2022-08-17 11:22:05 +03:00
parent 9aa0ecab6a
commit 8b6ad0d342
6 changed files with 109 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ SpewRetval_t UnitTestSpew( SpewType_t type, char const *pMsg )
break;
}
printf( "%s", pMsg );
fflush(stdout);
if ( Sys_IsDebuggerPresent() )
return ( type == SPEW_ASSERT || type == SPEW_ERROR ) ? SPEW_DEBUGGER : SPEW_CONTINUE;

View File

@@ -23,6 +23,7 @@ def build(bld):
if bld.env.DEST_OS != 'win32':
libs += [ 'DL', 'LOG' ]
else:
bld.env.LDFLAGS += ['/subsystem:console']
libs += ['USER32', 'SHELL32']
install_path = bld.env.BINDIR