mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
merge test-user-mode and test-baremetal into test-executables
Differentiate with --mode userland vs --mode baremetal. The code was basically copied, now it's DRY.
This commit is contained in:
4
test
4
test
@@ -30,8 +30,8 @@ Size of the tests to run. Scale:
|
||||
test_boot_args['size'] = self.env['size']
|
||||
self.run_test(lkmc.import_path.import_path_main('test-boot'), test_boot_args, 'test-boot')
|
||||
self.run_test(lkmc.import_path.import_path_main('test-userland-full-system'), run_args, 'test-userland')
|
||||
self.run_test(lkmc.import_path.import_path_main('test-baremetal'), run_args, 'test-baremetal')
|
||||
self.run_test(lkmc.import_path.import_path_main('test-user-mode'), run_args, 'test-user-mode')
|
||||
self.run_test(lkmc.import_path.import_path_main('test-executables'), {**run_args, **{'mode': 'baremetal'}}, 'test-executables-baremetal')
|
||||
self.run_test(lkmc.import_path.import_path_main('test-executables'), run_args, 'test-executables-userland')
|
||||
self.run_test(lkmc.import_path.import_path_main('test-gdb'), run_args, 'test-gdb')
|
||||
if self.env['emulator'] == 'gem5':
|
||||
gem5_unit_test_args = run_args.copy()
|
||||
|
||||
Reference in New Issue
Block a user