From: "NARUSE, Yui" Date: 2010-12-16T10:06:08+09:00 Subject: [ruby-core:33744] Re: [Ruby 1.9-Bug#4163][Assigned] RubyGems uses deprecated API: YAML.quick_emit. Hi Aaron, 2010/12/16 Aaron Patterson : > How are you running the tests? �`make test-all TESTS=rubygems` doesn't > add the -w flag for me. �I'm unsure how to run the tests with warnings > turned on. :-( To give -w flag to ruby, you can use RUBYOPT environment variable. So for make test-all, it will be make RUBYOPT=-w TESTS=rubygems test-all FYI, I run test as following: make RUBYOPT=-w TESTS='-v' TMPDIR=/tmp/test-all test-all|&tee t.log To show each test name, I specify -v. To make easy to clean tempfiles when ruby crashs and remain tempfiles, I specify TMPDIR. To keep the log, I use |& of zsh. You may know following options for TESTS are also useful: -n, --name PATTERN Filter test names on pattern. -x, --exclude PATTERN Exclude test files on pattern. -- NARUSE, Yui naruse@airemix.jp