mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-13 20:39:41 -07:00
skip tests without directive, and escape * in ubuntu run
This commit is contained in:
1 parent
3a109a7343
commit
a151df283f
3 files changed
+12
-5
No files matched your search
@@ -1449,5 +1449,6 @@ t_entry_point(CmdLine *cmdline)
|
||||
}
|
||||
|
||||
scratch_end(scratch);
|
||||
// TODO: return exit_code;
|
||||
exit(exit_code);
|
||||
}
|
||||
|
||||
@@ -987,8 +987,14 @@ T_RunSig(dbg_script_runner)
|
||||
}
|
||||
}
|
||||
|
||||
// if test does not have any directive -> skip
|
||||
U64 total_directive_count = 0;
|
||||
for EachIndex(i, ArrayCount(script.directives[OperatingSystem_CURRENT])) {
|
||||
total_directive_count += script.directives[OperatingSystem_CURRENT][i].count;
|
||||
}
|
||||
|
||||
// is skip flag set? -> exit
|
||||
if (g_build_only || script.directives[OperatingSystem_CURRENT][T_DbgScriptDirectiveKind_Skip].count) {
|
||||
if (g_build_only || total_directive_count == 0 || script.directives[OperatingSystem_CURRENT][T_DbgScriptDirectiveKind_Skip].count) {
|
||||
result_out->status = T_RunStatus_Skip;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user