summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/ir/Makefile
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2018-10-16 16:09:31 +0200
committerShuah Khan <shuah@kernel.org>2018-11-06 17:27:17 +0100
commite55c884ea5c66a29a713d41ed0819fee8038762b (patch)
tree4be86e1cfc950aba03dade75746c4cc00c56a91c /tools/testing/selftests/ir/Makefile
parentLinux 4.20-rc1 (diff)
downloadlinux-e55c884ea5c66a29a713d41ed0819fee8038762b.tar.xz
linux-e55c884ea5c66a29a713d41ed0819fee8038762b.zip
media: rc: self test for IR encoders and decoders
ir-loopback can transmit IR on one rc device and check the correct scancode and protocol is decoded on a different rc device. This can be used to check IR transmission between two rc devices. Using rc-loopback, we use it to check the IR encoders and decoders themselves. No hardware is required for this test. Signed-off-by: Sean Young <sean@mess.org> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/ir/Makefile')
-rw-r--r--tools/testing/selftests/ir/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/testing/selftests/ir/Makefile b/tools/testing/selftests/ir/Makefile
new file mode 100644
index 000000000000..f4ba8eb84b95
--- /dev/null
+++ b/tools/testing/selftests/ir/Makefile
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+TEST_PROGS := ir_loopback.sh
+TEST_GEN_PROGS_EXTENDED := ir_loopback
+
+include ../lib.mk