From 4a4d2548443b685bf451c7a02094318cc3922768 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Fri, 15 Jun 2012 10:22:51 -0500 Subject: [PATCH] don't run memspecs as part of CI build. --- Rakefile | 4 +++- spec/mem/blunt_spec.rb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index f35a3bc..c0f4c7f 100644 --- a/Rakefile +++ b/Rakefile @@ -15,7 +15,9 @@ Rake::ExtensionTask.new("init", eval(File.read("therubyracer.gemspec"))) do |ext end require 'rspec/core/rake_task' -RSpec::Core::RakeTask.new(:spec) +RSpec::Core::RakeTask.new(:spec) do |task| + task.rspec_opts = '--tag ~memory' +end task :sanity => [:clean, :compile] do sh %q{ruby -Ilib -e "require 'v8'"} diff --git a/spec/mem/blunt_spec.rb b/spec/mem/blunt_spec.rb index 81a5696..7c5a058 100644 --- a/spec/mem/blunt_spec.rb +++ b/spec/mem/blunt_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -describe "A Very blunt test to make sure that we aren't doing stupid leaks" do +describe "A Very blunt test to make sure that we aren't doing stupid leaks", :memory => true do before do if Object.const_defined?(:RUBY_ENGINE) && RUBY_ENGINE == 'rbx' pending 'need to figure out how to do memory sanity checks on rbx'