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:
Ciro Santilli 六四事件 法轮功
2019-11-04 23:00:01 +00:00
parent 425d3a5713
commit 5b67747214
3 changed files with 41 additions and 10 deletions

View File

@@ -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': (