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:
Ciro Santilli 六四事件 法轮功
2019-05-29 00:00:01 +00:00
parent 6994dc21af
commit fedb68c62c
11 changed files with 84 additions and 130 deletions

10
build
View File

@@ -321,15 +321,15 @@ so looping over all of them would waste time.
'userland',
],
),
'test-user-mode': _Component(dependencies=[
'test-user-mode-qemu',
'test-user-mode-gem5',
'test-executables-userland': _Component(dependencies=[
'test-executables-userland-qemu',
'test-executables-userland-gem5',
]),
'test-user-mode-qemu': _Component(dependencies=[
'test-executables-userland-qemu': _Component(dependencies=[
'user-mode-qemu',
'userland',
]),
'test-user-mode-gem5': _Component(dependencies=[
'test-executables-userland-gem5': _Component(dependencies=[
'gem5',
'userland-gem5',
]),