mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
skip requires_syscall_get_nprocs on gem5
This commit is contained in:
@@ -82,6 +82,7 @@ class PathProperties:
|
|||||||
'requires_m5ops': False,
|
'requires_m5ops': False,
|
||||||
# gem5 fatal: syscall getcpu (#168) unimplemented.
|
# gem5 fatal: syscall getcpu (#168) unimplemented.
|
||||||
'requires_syscall_getcpu': False,
|
'requires_syscall_getcpu': False,
|
||||||
|
'requires_syscall_get_nprocs': False,
|
||||||
'requires_semihosting': False,
|
'requires_semihosting': False,
|
||||||
# The example requires sudo, which usually implies that it can do something
|
# The example requires sudo, which usually implies that it can do something
|
||||||
# deeply to the system it runs on, which would preventing further interactive
|
# deeply to the system it runs on, which would preventing further interactive
|
||||||
@@ -270,7 +271,9 @@ class PathProperties:
|
|||||||
self['signal_received'] is not None or
|
self['signal_received'] is not None or
|
||||||
self['requires_dynamic_library'] or
|
self['requires_dynamic_library'] or
|
||||||
self['requires_semihosting'] or
|
self['requires_semihosting'] or
|
||||||
self['requires_syscall_getcpu']
|
self['requires_syscall_getcpu'] or
|
||||||
|
# https://gem5.atlassian.net/browse/GEM5-622
|
||||||
|
self['requires_syscall_get_nprocs']
|
||||||
)
|
)
|
||||||
) and
|
) and
|
||||||
not (
|
not (
|
||||||
@@ -687,6 +690,7 @@ path_properties_tuples = (
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
'count.cpp': {'more_than_1s': True},
|
'count.cpp': {'more_than_1s': True},
|
||||||
|
'thread_hardware_concurrency.cpp': {'requires_syscall_get_nprocs': True},
|
||||||
'initialization_types.cpp': {'cc_flags':
|
'initialization_types.cpp': {'cc_flags':
|
||||||
['-Wno-unused-variable', LF, '-Wno-unused-but-set-variable', LF]},
|
['-Wno-unused-variable', LF, '-Wno-unused-but-set-variable', LF]},
|
||||||
'm5ops.cpp': {'allowed_emulators': {'gem5'}},
|
'm5ops.cpp': {'allowed_emulators': {'gem5'}},
|
||||||
@@ -775,6 +779,7 @@ path_properties_tuples = (
|
|||||||
'requires_syscall_getcpu': True,
|
'requires_syscall_getcpu': True,
|
||||||
'test_run_args': {'cpus': 2},
|
'test_run_args': {'cpus': 2},
|
||||||
},
|
},
|
||||||
|
'sysconf.c': {'requires_syscall_get_nprocs': True},
|
||||||
'time_boot.c': {'requires_sudo': True},
|
'time_boot.c': {'requires_sudo': True},
|
||||||
'virt_to_phys_user.c': {'requires_argument': True},
|
'virt_to_phys_user.c': {'requires_argument': True},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user