diff mbox

[v2] selftests: sync: add config fragment for testing sync framework

Message ID 20180614095708.27645-1-anders.roxell@linaro.org (mailing list archive)
State Accepted
Headers show

Commit Message

Anders Roxell June 14, 2018, 9:57 a.m. UTC
From: Fathi Boudra <fathi.boudra@linaro.org>

Unless the software synchronization objects (CONFIG_SW_SYNC) is enabled,
the sync test will be skipped:

TAP version 13
1..0 # Skipped: Sync framework not supported by kernel

Add a config fragment file to be able to run "make kselftest-merge" to
enable relevant configuration required in order to run the sync test.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Link: https://lkml.org/lkml/2017/5/5/14
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 tools/testing/selftests/sync/config | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 tools/testing/selftests/sync/config

Comments

shuah June 15, 2018, 4:24 p.m. UTC | #1
On 06/14/2018 03:57 AM, Anders Roxell wrote:
> From: Fathi Boudra <fathi.boudra@linaro.org>
> 
> Unless the software synchronization objects (CONFIG_SW_SYNC) is enabled,
> the sync test will be skipped:
> 
> TAP version 13
> 1..0 # Skipped: Sync framework not supported by kernel
> 
> Add a config fragment file to be able to run "make kselftest-merge" to
> enable relevant configuration required in order to run the sync test.
> 
> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
> Link: https://lkml.org/lkml/2017/5/5/14
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---

Thanks. Applied to linux-kselftest next for 4.18-rc2 fixes update

thanks,
-- Shuah
 

--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/tools/testing/selftests/sync/config b/tools/testing/selftests/sync/config
new file mode 100644
index 000000000000..1ab7e8130db2
--- /dev/null
+++ b/tools/testing/selftests/sync/config
@@ -0,0 +1,4 @@ 
+CONFIG_STAGING=y
+CONFIG_ANDROID=y
+CONFIG_SYNC=y
+CONFIG_SW_SYNC=y