aboutsummaryrefslogtreecommitdiffstats
path: root/test/mkmf
Commit message (Collapse)AuthorAgeFilesLines
* * test/lib/envutil.rb: Moved from test/ruby/.akr2014-11-131-1/+0
| | | | | | | | | | | | | | * test/lib/find_executable.rb: Ditto. * test/lib/memory_status.rb: Ditto. * test/lib/test/unit.rb: require envutil. * test/: Don't require envutil in test files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: try without -ObjC optionnobu2014-07-301-1/+3
| | | | | | | * lib/mkmf.rb (have_framework): try without -ObjC option first as MacPorts GCCs do not support it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test: get rid of warnings.usa2014-03-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_config.rb: fix library pathnobu2013-10-011-1/+2
| | | | | | | * test/mkmf/test_config.rb (test_dir_config): fix expected library path. [ruby-core:57535] [Bug #8972] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: expand all macrosnobu2013-07-291-2/+2
| | | | | | | | | * lib/mkmf.rb (xsystem): expand environment variable in all macros not expanded with RbConfig. [Bug #8702] * test/mkmf/test_framework.rb (create_framework): replace all $@ not only once. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: header in frameworknobu2013-07-041-0/+32
| | | | | | | * lib/mkmf.rb (have_framework): allow header file to check. [ruby-core:55745] [Bug #8593] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/mkmf: $extmk in parallel testnobu2013-07-042-0/+4
| | | | | | | * 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_have_library.rb: toolchains resultnobu2013-07-041-3/+5
| | | | | | | * test/mkmf/test_have_library.rb (create_library): check if toolchains work. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: CONFTESTnobu2013-07-041-2/+2
| | | | | | * lib/mkmf.rb (CONFTEST): constify hardcoded filename. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_features.rb, test/logger/test_logger.rbakr2013-04-201-4/+2
| | | | | | | | | | | | | | | | | | test/mkmf/test_have_macro.rb, test/net/http/test_http.rb, test/openssl/test_config.rb, test/psych/test_encoding.rb, test/psych/test_exception.rb, test/psych/test_psych.rb, test/psych/test_tainted.rb, test/readline/test_readline.rb, test/rexml/test_contrib.rb, test/ruby/test_autoload.rb, test/ruby/test_beginendblock.rb, test/ruby/test_exception.rb, test/ruby/test_file.rb, test/ruby/test_io.rb, test/ruby/test_marshal.rb, test/ruby/test_process.rb, test/ruby/test_require.rb, test/ruby/test_rubyoptions.rb, test/syslog/test_syslog_logger.rb, test/webrick/test_httpauth.rb, test/zlib/test_zlib.rb: Use Tempfile.create. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/test_have_macro.rb: remove temporally files in the tests.akr2013-03-231-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/test_config.rb (TestMkmf): fix superclass mismatch.nobu2013-03-112-2/+2
| | | | 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
* mkmf.rb: defer use of instance variablenobu2013-03-111-0/+14
| | | | | | | * lib/mkmf.rb (MakeMakefile#dir_config, MakeMakefile#_libdir_basename): defer use of instance variable until needed. [Bug #8074] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39717 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
* mkmf.rb: fix merge_libsnobu2013-02-071-0/+17
| | | | | | | | * lib/mkmf.rb (MakeMakefile#merge_libs): insert following reversal ordered elements just after the duplicated element, not overwriting successive elements. [ruby-core:50314] [Bug #7467] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_libs.rb: new testnobu2013-02-071-0/+69
| | | | | | * test/mkmf/test_libs.rb (TestMkmf:TestLibs): tests for $libs operations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: large unsignednobu2013-01-231-0/+4
| | | | | | | * lib/mkmf.rb (MakeMakefile#try_constant): fix for large unsigned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: larger constantsnobu2013-01-231-0/+15
| | | | | | | * lib/mkmf.rb (MakeMakefile#try_constant): fix for larger constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: try_constant testsnobu2013-01-231-0/+18
| | | | | | | | * test/mkmf/test_constant.rb: tests for try_constant. TODO: define check_constant and use it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_have_macro.rb: unused variablesnobu2013-01-211-2/+2
| | | | | | | * test/mkmf/test_have_macro.rb (test_have_macro_header), (test_not_have_macro_header): remove unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/test_have_func.rb: tests for have_func.nobu2012-12-051-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_have_library.rb: assert_have_librarynobu2012-12-051-6/+14
| | | | | | * test/mkmf/test_have_library.rb (assert_have_library): extract. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_have_macro.rb: TestHaveMacronobu2012-12-051-1/+1
| | | | | | * test/mkmf/test_have_macro.rb (TestMkmf::TestHaveMacro): rename. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/test_have_library.rb: tests for have_library.nobu2012-12-051-0/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: different strings from conflict markersnobu2012-12-051-0/+35
| | | | | | | | * lib/mkmf.rb (MakeMakefile#macro_defined?): use clearly different strings from conflict markers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: fix splitting options with an argumentnobu2012-09-061-0/+5
| | | | | | | | * 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
* test_framework.rb: show mkmf.log on failurenobu2012-08-011-1/+1
| | | | | | | | * 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
* 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-034-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/test_framework.rb: try CoreFoundation framework, thannobu2012-02-221-2/+2
| | | | | | | | 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
* * 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
* * test/mkmf/test_framework.rb: test for r33372.nobu2011-10-021-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (find_executable0): should exclude directories.nobu2011-03-111-4/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_include): add alias.nobu2011-02-122-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags): add -Werror=implicit-function-declarationnobu2011-01-153-16/+73
| | | | | | | | | 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
* * lib/mkmf.rb (configuration): fixing gsub when multiple error flagstenderlove2011-01-061-0/+16
| | | | | | are passed to GCC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf::FakeLog): capture output from mkmf.nobu2010-12-172-0/+42
| | | | | | | * 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-102-0/+35
| | | | | | | | 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-102-0/+34
| | | | | | [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-103-4/+10
| | | | | | | * 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/test_find_executable.rb (test_find_executable): usenobu2010-12-061-13/+3
| | | | | | configured results. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (convertible_int): define printf format prefix too.nobu2010-12-031-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (convertible_int): detect convertible integer type.nobu2010-12-031-0/+26
| | | | | | port RUBY_REPLACE_INT from configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_sizeof): should return integer always.nobu2010-12-031-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e