summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-02-06 18:28:53 +0900
committerGitHub <[email protected]>2021-02-06 18:28:53 +0900
commit94d8dfed6647f7c90074c2681f09ab04d27e7072 (patch)
tree8cf3db4d89d322a4e73620b6797a2015b1f28d8e
parent6d0b5102cfd0d1e8140767a54ed3923553ee18a0 (diff)
parent9d1a659bc720c8cbe3640b4c7aa5fce08c4315d2 (diff)
downloadmruby-94d8dfed6647f7c90074c2681f09ab04d27e7072.tar.gz
mruby-94d8dfed6647f7c90074c2681f09ab04d27e7072.zip
Merge pull request #5327 from dearblue/notest
Ignore if `conf.enable_test` does not exist
-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