diff options
Diffstat (limited to 'test/helpers.lua')
| -rw-r--r-- | test/helpers.lua | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/test/helpers.lua b/test/helpers.lua index 1e01aaa098..25ab80bb50 100644 --- a/test/helpers.lua +++ b/test/helpers.lua @@ -207,7 +207,9 @@ local function check_cores(app)      out:write(('\nTests covered by this check: %u\n'):format(tests_skipped + 1))    end    tests_skipped = 0 -  assert(0 == found_cores) +  if found_cores > 0 then +    error("crash detected (see above)") +  end  end  return {  | 
