ruby/test
shyouhei bb41909d8b Skip syslog tests that rely on LOG_PERROR unless it's defined
Instead of checking looking at the platform to determine if the tests
relying on LOG_PERROR should be run, look for the definition of the
constant as this will be robust against all platforms as long as the
underlying syslog.c code sets it up correctly.

This specifically addresses failures on Solaris 9.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25 11:06:57 +00:00
..
-ext- * include/ruby/ruby.h (rb_funcall_passing_block): add prototype. 2011-03-17 15:54:22 +00:00
base64 * pack.c (pack_pack, pack_unpack): 'm0' format (base64) complies with 2008-09-25 12:24:54 +00:00
benchmark * test/benchmark/test_benchmark.rb (#capture_bench_output): 2011-02-01 04:33:00 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.c (BigDecimal_save_limit): 2010-09-29 08:55:11 +00:00
cgi Prevent timing failure. 2010-11-15 02:37:19 +00:00
coverage * test/coverage/test_coverage.rb: added. 2010-08-14 11:59:35 +00:00
csv * lib/test/unit.rb: Add new options; --jobs,-j,--ruby,--jobs-status, 2011-02-22 03:36:38 +00:00
date * ext/date/date_core.c: replacement of implementation of 2011-03-20 12:44:47 +00:00
dbm * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
digest * test/with_different_ofs.rb (DifferentOFS): should not affect 2010-12-26 02:15:55 +00:00
dl * test/ruby/test_process.rb (TestProcess#test_no_curdir): skip silently on 2011-03-25 02:50:17 +00:00
drb raise DRbConnError instead of ArgumentError if too many arguments. 2010-06-14 08:52:30 +00:00
erb supress warnings. 2010-01-25 23:12:50 +00:00
etc * test/etc/test_etc.rb: assert only when any value is given. 2010-05-05 06:11:04 +00:00
fiddle * test/fiddle/test_fiddle.rb: Don't run test if the system don't support 2011-01-23 13:20:58 +00:00
fileutils * lib/fileutils.rb (FileUtils::Entry_#copy_file): updated FileUtils.cp 2011-03-17 23:48:13 +00:00
gdbm * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create, 2011-01-28 14:23:04 +00:00
iconv * test/iconv/utils.rb: suppress warning message. 2010-11-28 13:25:58 +00:00
io * test/io/nonblock/test_flush.rb (TestIONonblock#flush_test): 2011-02-13 00:56:48 +00:00
irb * test/irb/test_option.rb (test_end_of_option): don't read .irbrc. Bug#4138 2010-12-08 22:00:59 +00:00
json * ext/json/parser/parser.h (GET_PARSER): raise TypeError. 2011-02-05 02:29:18 +00:00
logger * test/logger/test_logger.rb: close logger (or logdevice) if it's related to 2010-05-19 03:05:05 +00:00
matrix * lib/matrix.rb: Improve algorithm for Matrix#determinant and Matrix#rank 2010-04-29 18:19:12 +00:00
minitest lib/minitest/*.rb: Imported minitest 2.0.2 r6207 2011-02-19 20:44:08 +00:00
misc * test/misc/test_ruby_mode.rb(test_singleton_class): Skip for Pending. 2011-03-15 00:53:31 +00:00
mkmf * lib/mkmf.rb (find_executable0): should exclude directories. 2011-03-11 09:42:46 +00:00
monitor * lib/monitor.rb (wait): supported timeout. 2010-02-06 12:31:52 +00:00
net Fix tests. 2011-02-19 12:43:27 +00:00
nkf * ext/nkf/lib/kconv.rb (String#kconv): fix typo and update rdoc. 2010-12-07 11:47:39 +00:00
objspace * ext/objspace/objspace.c (ObjectSpace.memsize_of_all): rename 2010-10-28 20:23:21 +00:00
open-uri * test/ruby/test_process.rb (TestProcess#test_no_curdir): skip silently on 2011-03-25 02:50:17 +00:00
openssl * ext/openssl/lib/openssl/buffering.rb (module OpenSSL): #flush should 2011-03-16 06:07:03 +00:00
optparse * lib/optparse.rb: shell completion support for zsh. based on 2010-11-19 12:07:09 +00:00
ostruct * lib/ostruct.rb (OpenStruct#delete_field): also undefine 2010-11-03 05:17:25 +00:00
pathname * lib/test/unit.rb (assert_include): add alias. 2011-02-12 14:17:54 +00:00
psych * ext/psych/lib/psych/visitors/yaml_tree.rb: Rescue exceptions when 2011-03-09 03:51:39 +00:00
rake * lib/test/unit.rb: Add new options; --jobs,-j,--ruby,--jobs-status, 2011-02-22 03:36:38 +00:00
rdoc * test/rdoc/test_rdoc_encoding.rb: remove unnecessary (and wrong) 2011-02-09 00:47:42 +00:00
readline * ext/readline/readline.c (readline_s_get_line_buffer): 2010-09-06 01:38:51 +00:00
resolv * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED. 2010-05-29 00:06:17 +00:00
rexml * lib/rexml/encoding.rb (REXML::Encoding#encoding=): store @encoding 2011-03-02 15:36:48 +00:00
rinda * test/rinda/test_rinda.rb (class TupleSpaceTest): kill a used thread 2010-05-26 09:45:49 +00:00
ripper * ext/pty/pty.c (chfunc): suppress a warning. 2011-02-06 05:56:14 +00:00
rss * lib/rexml/encoding.rb: use Ruby native encoding mechnism. [ruby-dev:42464] 2010-10-30 12:10:56 +00:00
ruby * test/ruby/test_process.rb (TestProcess#test_no_curdir): skip silently on 2011-03-25 02:50:17 +00:00
rubygems Import rubygems 1.6.2 (release candidate @ 2026fbb5) 2011-03-09 22:32:29 +00:00
scanf * test/scanf/test_scanf.rb (ScanfTests#each_test): yield in order. 2010-05-13 10:06:25 +00:00
sdbm * test/sdbm/test_sdbm.rb (test_s_open_error): doesn't support to avoid read 2010-05-27 05:47:21 +00:00
socket * lib/test/unit.rb (assert_include): add alias. 2011-02-12 14:17:54 +00:00
stringio * ext/stringio/stringio.c (get_strio, strio_set_string) 2011-01-05 20:14:43 +00:00
strscan avoid method redefinition. 2010-02-14 03:09:53 +00:00
syck * test/syck/test_string.rb (Syck::TestString#test_non_binary_string): 2011-02-13 00:56:44 +00:00
testunit * test/testunit/test_parallel.rb 2011-03-07 05:15:22 +00:00
thread * test/thread/test_queue.rb (TestQueue#grind): fix typos. 2010-04-16 22:45:45 +00:00
uri * test/uri/test_common.rb (TestCommon#test_encode_www_form): add 2010-12-06 10:01:42 +00:00
webrick * test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need 2011-01-20 02:41:09 +00:00
win32ole * test/win32ole/test_err_in_callback.rb (teardown): remove tmp file 2010-11-25 01:03:52 +00:00
xmlrpc * test/xmlrpc/webrick_testing.rb (WEBrick_Testing#start_server): 2011-02-13 00:56:40 +00:00
zlib * ext/zlib/zlib.c (gzfile_reader_get_unused): no need to dup 2011-02-03 15:15:04 +00:00
inlinetest.rb * test/inlinetest.rb (InlineTest.in_progname): workaround for frozen 2008-06-27 12:19:11 +00:00
profile_test_all.rb property. 2010-10-29 23:50:57 +00:00
runner.rb * test/runner.rb: set Gem::TestCase's @@project_dir. 2011-03-22 01:59:18 +00:00
test_cmath.rb * lib/cmath.rb (CMath.sqrt): use floating-point value. [ruby-core:31672] [Bug #3678] 2010-08-11 14:30:47 +00:00
test_delegate.rb * object.c (rb_obj_clone): call initialize_clone hook method to 2010-02-08 07:43:54 +00:00
test_find.rb * test/test_find.rb: skip some tests on Windows. 2010-05-25 07:03:31 +00:00
test_ipaddr.rb use require_relative. 2010-02-02 13:58:56 +00:00
test_mathn.rb Clean warnings: unused variables. 2010-06-23 05:32:46 +00:00
test_mutex_m.rb * lib/optparse.rb: suppress a warning. 2010-08-10 12:02:52 +00:00
test_open3.rb * test/test_open3.rb (TestOpen3#test_commandline): use simple 2010-04-30 12:40:40 +00:00
test_pp.rb * lib/pp.rb (PP::ObjectMixin#pretty_print): use to_s regardless of 2009-11-07 12:05:38 +00:00
test_prettyprint.rb wrap by a module. 2009-10-04 05:44:27 +00:00
test_prime.rb * test/syck/test_string.rb (Syck::TestString#test_non_binary_string): 2011-02-13 00:56:44 +00:00
test_pstore.rb * lib/pstore.rb: Fix don't raise "nested transaction" when thread_safe 2011-03-13 07:14:07 +00:00
test_pty.rb * test/test_pty.rb (TestPTY::test_getpty_nonexistent): ditto. 2010-09-24 07:37:26 +00:00
test_set.rb use require_relative. 2010-02-02 13:58:56 +00:00
test_shellwords.rb * {ext,lib,test}/**/*.rb: removed trailing spaces. 2009-03-06 03:56:38 +00:00
test_singleton.rb new file. 2008-07-03 12:10:30 +00:00
test_syslog.rb Skip syslog tests that rely on LOG_PERROR unless it's defined 2011-03-25 11:06:57 +00:00
test_tempfile.rb * ext/etc/etc.c (etc_systmpdir): assume system default tmpdir 2010-09-09 22:29:16 +00:00
test_time.rb add an assertion. 2010-06-24 13:37:58 +00:00
test_timeout.rb * lib/timeout.rb (Timeout#timeout): propagate errors to the 2010-04-19 09:58:09 +00:00
test_tracer.rb Reduced gem_prelude to just require rubygems. Reviewed by Evan Phoenix 2011-01-14 02:02:12 +00:00
test_tsort.rb * test/test_pp.rb: extract from lib/pp.rb. 2009-02-14 23:36:45 +00:00
with_different_ofs.rb * test/with_different_ofs.rb (DifferentOFS): should not affect 2010-12-26 02:15:55 +00:00