mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
gem5: expose unit tests
This commit is contained in:
4
test
4
test
@@ -33,6 +33,10 @@ Size of the tests to run. Scale:
|
||||
self.run_test(self.import_path_main('test-baremetal'), run_args, 'test-baremetal')
|
||||
self.run_test(self.import_path_main('test-user-mode'), run_args, 'test-user-mode')
|
||||
self.run_test(self.import_path_main('test-gdb'), run_args, 'test-gdb')
|
||||
if self.env['emulator'] == 'gem5':
|
||||
gem5_unit_test_args = run_args.copy()
|
||||
gem5_unit_test_args['unit_tests'] = True
|
||||
self.run_test(self.import_path_main('build-gem5'), gem5_unit_test_args, 'gem5-unit-tests')
|
||||
|
||||
if __name__ == '__main__':
|
||||
Main().cli()
|
||||
|
||||
Reference in New Issue
Block a user