mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
gem5: move to 2019 regressions
This commit is contained in:
20
build-gem5
20
build-gem5
@@ -13,15 +13,6 @@ class Main(common.BuildCliFunction):
|
||||
description='''\
|
||||
Build gem5.
|
||||
https://github.com/cirosantilli/linux-kernel-module-cheat-regression#gem5-buildroot-setup
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
'--regression-test',
|
||||
action='append',
|
||||
default=[],
|
||||
help='''\
|
||||
Build and run the given gem5 regression test.
|
||||
https://github.com/cirosantilli/linux-kernel-module-cheat-regression#gem5-unit-tests
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
@@ -122,17 +113,6 @@ https://github.com/cirosantilli/linux-kernel-module-cheat-regression#gem5-unit-t
|
||||
self.sh.cp(m5term_build, self.env['gem5_m5term'])
|
||||
if self.env['unit_test']:
|
||||
targets = [self.get_gem5_target_path(self.env, test) for test in self.env['unit_test']]
|
||||
elif self.env['regression_test']:
|
||||
targets = [
|
||||
os.path.join(
|
||||
self.env['gem5_executable_dir'],
|
||||
'tests',
|
||||
self.env['gem5_build_type'],
|
||||
test
|
||||
)
|
||||
for test
|
||||
in self.env['regression_test']
|
||||
]
|
||||
elif self.env['unit_tests']:
|
||||
targets = [self.env['gem5_unit_test_target']]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user