nobu
d0d68df7d0
mkmf.rb: fix splitting options with an argument
...
* ext/extmk.rb (extmake), lib/mkmf.rb (have_framework): fix splitting
options with an argument, not using NUL as special character.
[ruby-core:47447] [Bug #6987 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-06 16:21:57 +00:00
nobu
cc59a581f1
test_framework.rb: show mkmf.log on failure
...
* test/mkmf/test_framework.rb (test_core_foundation_framework): show
mkmf.log on failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-01 22:29:58 +00:00
nobu
c45d780b83
test/mkmf/base.rb: hide compiler output
...
* 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
2012-05-08 06:50:05 +00:00
nobu
d7655cc292
* test/mkmf/base.rb (TestMkmf#setup): remove uninitialized global variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-03 14:30:08 +00:00
nobu
5c67392c95
* test/mkmf/base.rb (TestMkmf#teardown): remove meaningless assertion.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-03 14:30:05 +00:00
nobu
9102ee7be2
* test/mkmf: remove generated files and ensure nothing left.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-03 09:41:14 +00:00
nobu
8e799c3e5b
* test/mkmf/test_framework.rb: try CoreFoundation framework, than
...
Cocoa which is dependent on QuickTime SDK which has separated
since Xcode 4.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 01:32:14 +00:00
drbrain
8b7ecdc11e
* lib/mkmf.rb: Use MakeMakefile's rm_f to avoid conflict with Rake or
...
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
2011-11-30 00:57:24 +00:00
naruse
302b6f6e02
Don't break tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29 08:42:13 +00:00
drbrain
194882cc40
* lib/mkmf.rb: Wrap mkmf.rb in module MakeMakefile to clean up Object
...
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
2011-11-28 21:54:33 +00:00
nobu
5e7ff0511e
* test/mkmf/test_framework.rb: test for r33372.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-02 01:27:00 +00:00
nobu
e77a9ad446
* lib/mkmf.rb (find_executable0): should exclude directories.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 09:42:46 +00:00
nobu
7f46fadd9d
* lib/test/unit.rb (assert_include): add alias.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-12 14:17:54 +00:00
nobu
b794a2bd8c
* configure.in (warnflags): add -Werror=implicit-function-declaration
...
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
2011-01-15 02:57:36 +00:00
tenderlove
5d0fb7c155
* lib/mkmf.rb (configuration): fixing gsub when multiple error flags
...
are passed to GCC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-06 00:18:16 +00:00
nobu
5cb9711323
* test/mkmf/base.rb (TestMkmf::FakeLog): capture output from mkmf.
...
* 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
2010-12-17 10:35:20 +00:00
nobu
61d197a62d
* test/mkmf/base.rb (TestMkmf#config_value): extract macro value from
...
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
2010-12-10 09:12:33 +00:00
nobu
30e0f51a5d
* lib/mkmf.rb (check_signedness): should use the prelude code.
...
[ruby-dev:42731]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10 09:11:48 +00:00
nobu
b38cc52c13
* lib/mkmf.rb (Logging.log_close): separate from Logging.logfile.
...
* 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
2010-12-10 09:11:10 +00:00
nobu
5d8fd7f1ba
* test/mkmf/base.rb (TestMkmf#setup): run quietly.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 14:18:26 +00:00
nobu
6852bf0933
* test/mkmf/test_find_executable.rb (test_find_executable): use
...
configured results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 14:17:40 +00:00
nobu
9e3e0ca3fe
* lib/mkmf.rb (convertible_int): define printf format prefix too.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-03 11:23:48 +00:00
nobu
e33b7f3381
* lib/mkmf.rb (convertible_int): detect convertible integer type.
...
port RUBY_REPLACE_INT from configure.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-03 10:53:53 +00:00
nobu
7031b99bca
* lib/mkmf.rb (check_sizeof): should return integer always.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-03 10:48:12 +00:00
nobu
c2fdd98eb0
* lib/mkmf.rb: $extmk should be true for test/runner.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-23 05:40:11 +00:00
akr
147a09f86e
suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-29 14:46:45 +00:00
nobu
9433d94cff
* configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): should be
...
space-separated. [ruby-core:27912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-29 05:21:55 +00:00
nobu
f1be083f09
* test/mkmf/base.rb: use $INCFLAGS to add -I option. [Bug#2387]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-26 02:42:24 +00:00
nobu
f86f669cf3
* test/mkmf/base.rb (TestMkmf): was turned into a class, because
...
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
2009-08-06 04:30:15 +00:00
nobu
a032b1bdb8
* test/mkmf/base.rb: split from test_sizeof.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-06 04:14:50 +00:00
nobu
c6ada1e7e0
* lib/mkmf.rb (check_sizeof): added optional compiler option
...
argument. [ruby-core:24785]
* lib/mkmf.rb (create_makefile): suppressed shadowing outer local
variable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-06 04:00:38 +00:00