mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
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:
@@ -260,10 +260,7 @@ If given, this differentiates between them.
|
||||
'--nproc',
|
||||
default=len(os.sched_getaffinity(0)),
|
||||
type=int,
|
||||
help='''Number of processors to use for the action.
|
||||
This is currently only implemented for the following scripts:
|
||||
all ./build-* scripts, test-user-mode.
|
||||
''',
|
||||
help='''Number of processors (Jobs) to use for the action.''',
|
||||
)
|
||||
self.add_argument(
|
||||
'-q',
|
||||
|
||||
Reference in New Issue
Block a user