aboutsummaryrefslogtreecommitdiffstats
path: root/test/mkmf/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf/base.rb: capture outputnobu2015-11-041-1/+5
| | | | | | | * test/mkmf/base.rb (TestMkmf::Base::Capture#write): capture output inside mkmf method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf/base.rb: clean up tmpdirnobu2015-03-031-1/+1
| | | | | | | * test/mkmf/base.rb (TestMkmf#assert_separately): call teardown to clean up temporary directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf/base.rb: fix constant scopenobu2015-02-051-3/+4
| | | | | | | * test/mkmf/base.rb (TestMkmf::Base): fix constant scope for r49482. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: avoid interferencenobu2015-02-031-1/+11
| | | | | | | | * lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): get rid of interference by modifying global variables in have_devel? method. [ruby-core:67962] [Bug #10821] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/mkmf: $extmk in parallel testnobu2013-07-041-0/+2
| | | | | | | * test/mkmf/base.rb, test/mkmf/test_config.rb: needs to set $extmk since worker processes in parallel test mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/test_config.rb (TestMkmf): fix superclass mismatch.nobu2013-03-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb: class name conflict.usa2013-03-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* assertions.rb: allow procnobu2013-03-081-8/+1
| | | | | | | * lib/test/unit/assertions.rb (Test::Unit::Assertions#message): convert msg by call if it is a proc, as well as assert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/mkmf/base.rb: hide compiler outputnobu2012-05-081-2/+6
| | | | | | | * test/mkmf/base.rb (TestMkmf::Capture#reopen): reopen replaced IO too, to hide compiler output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf#setup): remove uninitialized global variable.nobu2012-04-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf#teardown): remove meaningless assertion.nobu2012-04-031-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf: remove generated files and ensure nothing left.nobu2012-04-031-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Use MakeMakefile's rm_f to avoid conflict with Rake ordrbrain2011-11-301-2/+2
| | | | | | | | FileUtils. * test/ruby/test_module.rb: Hide MakeMakefile's inclusion in Object git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't break tests.naruse2011-11-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: Wrap mkmf.rb in module MakeMakefile to clean up Objectdrbrain2011-11-281-2/+2
| | | | | | | | | documentation. [Ruby 1.9 - Feature #5658] * ext/extmk.rb: Use MakeMakefile::CONFIG instead of Object::CONFIG * test/mkmf/base.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags): add -Werror=implicit-function-declarationnobu2011-01-151-0/+38
| | | | | | | | | if available. * lib/mkmf.rb (init_mkmf): ignore warnings in mkmf tests. * test/mkmf/base.rb (setup, teardown): restore config values. * test/mkmf/test_flags.rb: split from test_find_executable.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf::FakeLog): capture output from mkmf.nobu2010-12-171-0/+41
| | | | | | | * test/mkmf/test_find_executable.rb (test_find_executable): suppress meaningless diffrences for chkbuild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf#config_value): extract macro value fromnobu2010-12-101-0/+8
| | | | | | | | config.h. * test/mkmf/test_sizeof.rb (TestMkmf::TestSizeof#test_sizeof_builtin), (TestMkmf::TestSizeof#test_sizeof_struct): more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_signedness): should use the prelude code.nobu2010-12-101-0/+7
| | | | | | [ruby-dev:42731] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (Logging.log_close): separate from Logging.logfile.nobu2010-12-101-0/+6
| | | | | | | * test/mkmf/base.rb (TestMkmf::MKMFLOG): show mkmf.log at failures. * test/mkmf/base.rb (TestMkmf#teardown): close log file for each tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf#setup): run quietly.nobu2010-12-061-7/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb: use $INCFLAGS to add -I option. [Bug#2387]nobu2009-11-261-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf): was turned into a class, becausenobu2009-08-061-1/+8
| | | | | | | MiniUnit doesn't complain even if a testcase has no tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb: split from test_sizeof.rb.nobu2009-08-061-0/+28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e