summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-06-04 22:37:32 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-06-04 22:37:32 -0700
commit278485ef0f0435163bcc605bd1b953227ae7c870 (patch)
treee9946932fb06fd3c8db51b31c9b62c2ef4c217a5 /Rakefile
parent04909eb5927bd4234f08f268a6ff18306374b393 (diff)
downloadffi-yajl-278485ef0f0435163bcc605bd1b953227ae7c870.tar.gz
don't run c-extension tests on jruby
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index c31c913..e9675a7 100644
--- a/Rakefile
+++ b/Rakefile
@@ -57,7 +57,9 @@ end
desc "Run all specs against both extensions"
task :spec do
Rake::Task["spec:ffi"].invoke
- Rake::Task["spec:ext"].invoke
+ if !defined?(RUBY_ENGINE) || RUBY_ENGINE !~ /jruby/
+ Rake::Task["spec:ext"].invoke
+ end
end
namespace :spec do