Re: [PATCH v3] selftests: lib: Skip tests on missing test modules

2017-06-23 Thread Shuah Khan
Hi Sumit, On 06/19/2017 10:48 PM, Sumit Semwal wrote: > With older kernels, printf.sh and bitmap.sh fail because they can't find > the respective test modules they are looking for. > > Use modprobe dry run to check for missing test_XXX module. Error out with > the same error code as

Re: [PATCH v3] selftests: lib: Skip tests on missing test modules

2017-06-23 Thread Shuah Khan
Hi Sumit, On 06/19/2017 10:48 PM, Sumit Semwal wrote: > With older kernels, printf.sh and bitmap.sh fail because they can't find > the respective test modules they are looking for. > > Use modprobe dry run to check for missing test_XXX module. Error out with > the same error code as

[PATCH v3] selftests: lib: Skip tests on missing test modules

2017-06-19 Thread Sumit Semwal
With older kernels, printf.sh and bitmap.sh fail because they can't find the respective test modules they are looking for. Use modprobe dry run to check for missing test_XXX module. Error out with the same error code as prime_numbers.sh. v3: As pointed out by Kees, modules can be in-built too,

[PATCH v3] selftests: lib: Skip tests on missing test modules

2017-06-19 Thread Sumit Semwal
With older kernels, printf.sh and bitmap.sh fail because they can't find the respective test modules they are looking for. Use modprobe dry run to check for missing test_XXX module. Error out with the same error code as prime_numbers.sh. v3: As pointed out by Kees, modules can be in-built too,