summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/Rakefile b/Rakefile
index 6c160a5ed..533153290 100644
--- a/Rakefile
+++ b/Rakefile
@@ -123,20 +123,21 @@ end
desc "run all mruby tests"
task :test
MRuby.each_target do
- next unless test_enabled?
-
- t = :"test_#{self.name}"
- task t => ["all"] do
- run_test
+ if test_enabled?
+ t = :"test_#{self.name}"
+ task t => ["all"] do
+ run_test
+ end
+ task :test => t
end
- task :test => t
- next unless bintest_enabled?
- t = :"bintest_#{self.name}"
- task t => ["all"] do
- run_bintest
+ if bintest_enabled?
+ t = :"bintest_#{self.name}"
+ task t => ["all"] do
+ run_bintest
+ end
+ task :test => t
end
- task :test => t
end
desc "clean all built and in-repo installed artifacts"