mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
cpp: parametrize nthreads on threaded programs CLI
Mark them as multithreaded in path_properties. Preparation for https://cirosantilli.com/linux-kernel-module-cheat/#user-mode-static-executables-with-dynamic-libraries which is likely what breaks gem5 on them.
This commit is contained in:
@@ -515,12 +515,14 @@ path_properties_tuples = (
|
||||
'gem5_unimplemented_instruction': True,
|
||||
},
|
||||
'count.cpp': {'more_than_1s': True},
|
||||
# Need to pass -lstdc++fs but we don't have a mechanism
|
||||
# to test the GCC version and only pass if >= 7.
|
||||
'temporary_directory.cpp': {'no_build': True},
|
||||
'sleep_for.cpp': {
|
||||
'more_than_1s': True,
|
||||
},
|
||||
# Need to pass -lstdc++fs but we don't have a mechanism
|
||||
# to test the GCC version and only pass if >= 7.
|
||||
'temporary_directory.cpp': {'no_build': True},
|
||||
'thread_get_id.cpp': {'test_run_args': {'cpus': 2}},
|
||||
'thread_return_value.cpp': {'test_run_args': {'cpus': 2}},
|
||||
},
|
||||
),
|
||||
'gcc': (
|
||||
|
||||
Reference in New Issue
Block a user