* [PATCH] selftests: ir: skip when lirc device doesn't exist.
@ 2019-01-31 20:10 Shuah Khan
0 siblings, 0 replies; only message in thread
From: Shuah Khan @ 2019-01-31 20:10 UTC (permalink / raw)
To: shuah, sean; +Cc: linux-kselftest, linux-kernel
Skip instead of fail when lirc device doesn't exist.
Signed-off-by: Shuah Khan <shuah@kernel.org>
---
tools/testing/selftests/ir/ir_loopback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/ir/ir_loopback.c b/tools/testing/selftests/ir/ir_loopback.c
index 8cdf1b89ac9c..ff351bb7c163 100644
--- a/tools/testing/selftests/ir/ir_loopback.c
+++ b/tools/testing/selftests/ir/ir_loopback.c
@@ -76,7 +76,7 @@ int lirc_open(const char *rc)
}
if (!dent)
- ksft_exit_fail_msg("cannot find lirc device for %s\n", rc);
+ ksft_exit_skip("cannot find lirc device for %s\n", rc);
closedir(d);
--
2.17.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-31 20:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-31 20:10 [PATCH] selftests: ir: skip when lirc device doesn't exist Shuah Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®