summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tasks/test.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/tasks/test.rake b/tasks/test.rake
index a18635cc6..7dda40e39 100644
--- a/tasks/test.rake
+++ b/tasks/test.rake
@@ -21,7 +21,8 @@ namespace :test do |test_ns|
desc "build library tests"
task :lib => :all do
MRuby.each_target{|build| build.gem(core: 'mruby-test')}
- test_build_ns["lib_without_loading_gem"].invoke
+ test = test_build_ns["lib_without_loading_gem"]
+ test.invoke if test
end
end