diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2018-06-14 11:57:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:12:27 +0200 |
commit | 0fab6c6dd55c6ff0e6b92862c7521e6f810ecd12 (patch) | |
tree | e675fe38de3ce31f1d9d3bf6c602c3e14d3733e6 | |
parent | dd91188f5611657c16c064fd0d739a994b8262f8 (diff) | |
download | linux-stable-0fab6c6dd55c6ff0e6b92862c7521e6f810ecd12.tar.gz linux-stable-0fab6c6dd55c6ff0e6b92862c7521e6f810ecd12.tar.bz2 linux-stable-0fab6c6dd55c6ff0e6b92862c7521e6f810ecd12.zip |
selftests: sync: add config fragment for testing sync framework
[ Upstream commit d6a3e55131fcb1e5ca1753f4b6f297a177b2fc91 ]
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>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | tools/testing/selftests/sync/config | 4 |
1 files changed, 4 insertions, 0 deletions
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 |