Don't run linter tests when interrupted
This commit is contained in:
parent
c2064c125e
commit
e0adf2f4a5
@ -226,6 +226,10 @@ nanos6_connect(struct emu *emu)
|
||||
static int
|
||||
end_lint(struct emu *emu)
|
||||
{
|
||||
/* Only run the check if we finished the complete trace */
|
||||
if (!emu->finished)
|
||||
return 0;
|
||||
|
||||
struct system *sys = &emu->system;
|
||||
|
||||
/* Ensure we run out of subsystem states */
|
||||
|
@ -145,6 +145,10 @@ nodes_connect(struct emu *emu)
|
||||
static int
|
||||
end_lint(struct emu *emu)
|
||||
{
|
||||
/* Only run the check if we finished the complete trace */
|
||||
if (!emu->finished)
|
||||
return 0;
|
||||
|
||||
struct system *sys = &emu->system;
|
||||
|
||||
/* Ensure we run out of subsystem states */
|
||||
|
@ -236,6 +236,10 @@ end_lint(struct emu *emu)
|
||||
static int
|
||||
finish_pvt(struct emu *emu, const char *name)
|
||||
{
|
||||
/* Only run the check if we finished the complete trace */
|
||||
if (!emu->finished)
|
||||
return 0;
|
||||
|
||||
struct system *sys = &emu->system;
|
||||
|
||||
/* Emit task types for all channel types and processes */
|
||||
|
Loading…
Reference in New Issue
Block a user