mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
baremetal: get exit status working with on_exit :-)
This commit is contained in:
@@ -55,9 +55,9 @@ If given, run only the given tests. Otherwise, run all tests.
|
||||
'run_obj': self.import_path_main('run'),
|
||||
'test_id': path_relative_root,
|
||||
}
|
||||
if path_relative_root != os.path.join('baremetal', 'assert_fail.c'):
|
||||
# if path_relative_root != os.path.join('baremetal', 'lkmc_assert_fail.c'):
|
||||
# Workaround fro: https://github.com/cirosantilli/linux-kernel-module-cheat/issues/59
|
||||
test_args['expected_exit_status'] = 0
|
||||
# test_args['expected_exit_status'] = 0
|
||||
error = thread_pool.submit(test_args)
|
||||
if error is not None:
|
||||
if self.env['quit_on_fail']:
|
||||
|
||||
Reference in New Issue
Block a user