summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-12-27 11:16:37 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-12-27 11:16:37 +0900
commit03244b52a0624e823ae5e338ecf72a868da08ef2 (patch)
treee49c8fcf0db8cbea9518705af3572ab006a7f550
parentd15e56dab03f2295dd1d9ecc2e22c6f0ce53e0e3 (diff)
downloadmruby-03244b52a0624e823ae5e338ecf72a868da08ef2.tar.gz
mruby-03244b52a0624e823ae5e338ecf72a868da08ef2.zip
Revert "Enable sanitizer in travis test"; ref #4864
`gcc` sanitizer does not work on some environment (namely my localhost). Although it works on Travis, it is not convenient that tests fail on the local host. We keep sanitizer tests on the local (using `clang`). This reverts commit 9cde967321fe4bf200d4451859ead57b06e73027.
-rw-r--r--travis_config.rb12
1 files changed, 4 insertions, 8 deletions
diff --git a/travis_config.rb b/travis_config.rb
index a8189dee6..2263bac25 100644
--- a/travis_config.rb
+++ b/travis_config.rb
@@ -4,8 +4,7 @@ MRuby::Build.new('debug') do |conf|
# include all core GEMs
conf.gembox 'full-core'
- conf.cc.flags += %w(-Werror=declaration-after-statement -fsanitize=address,undefined)
- conf.linker.flags += %W(-fsanitize=address,undefined)
+ conf.cc.flags += %w(-Werror=declaration-after-statement)
conf.compilers.each do |c|
c.defines += %w(MRB_GC_STRESS MRB_GC_FIXED_ARENA MRB_METHOD_CACHE)
end
@@ -19,8 +18,7 @@ MRuby::Build.new('full-debug') do |conf|
# include all core GEMs
conf.gembox 'full-core'
- conf.cc.flags += %w(-Werror=declaration-after-statement -fsanitize=address,undefined)
- conf.linker.flags += %W(-fsanitize=address,undefined)
+ conf.cc.flags += %w(-Werror=declaration-after-statement)
conf.cc.defines += %w(MRB_GC_STRESS MRB_METHOD_CACHE MRB_ENABLE_DEBUG_HOOK)
conf.enable_test
@@ -31,8 +29,7 @@ MRuby::Build.new do |conf|
# include all core GEMs
conf.gembox 'full-core'
- conf.cc.flags += %w(-Werror=declaration-after-statement -fsanitize=address,undefined)
- conf.linker.flags += %W(-fsanitize=address,undefined)
+ conf.cc.flags += %w(-Werror=declaration-after-statement)
conf.compilers.each do |c|
c.defines += %w(MRB_GC_FIXED_ARENA)
end
@@ -44,8 +41,7 @@ MRuby::Build.new('cxx_abi') do |conf|
toolchain :gcc
conf.gembox 'full-core'
- conf.cc.flags += %w(-fpermissive -fsanitize=address,undefined)
- conf.linker.flags += %W(-fsanitize=address,undefined)
+ conf.cc.flags += %w(-fpermissive)
conf.compilers.each do |c|
c.defines += %w(MRB_GC_FIXED_ARENA)
end