diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-10-11 21:13:52 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-10-11 21:13:52 +0900 |
commit | f3c4e620ac612eab6370b1fb82feaa4e651542bb (patch) | |
tree | 8bbf098a71a42801ddee63468a92d8aa40c31b32 | |
parent | d6c80876b7aae5b3f44abe7cf1b64161354b8ebd (diff) | |
download | ruby-f3c4e620ac612eab6370b1fb82feaa4e651542bb.tar.gz |
test/test_syslog.rb (test_log): skipped on Android
On Android 28, LOG_PERROR is defined, but not implemented yet.
This change skips Syslog#log explicitly.
-rw-r--r-- | test/test_syslog.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_syslog.rb b/test/test_syslog.rb index c66e5f5fb2..5327814f7a 100644 --- a/test/test_syslog.rb +++ b/test/test_syslog.rb @@ -143,6 +143,8 @@ class TestSyslog < Test::Unit::TestCase # LOG_PERROR is not implemented on Cygwin or Solaris. Only test # these on systems that define it. return unless Syslog.const_defined?(:LOG_PERROR) + # LOG_PERROR is defined but not supported yet on Android. + return if RUBY_PLATFORM =~ /android/ 2.times { re = syslog_line_regex("syslog_test", "test1 - hello, world!") |