summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-03-01 15:20:16 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-03-01 15:20:16 +0900
commit32818bd25e8bb1eac87d0382a46b6cba6a9587b7 (patch)
tree485354e6f69ba89dbec45d6c0927ee53b1b7c270
parent8e170ce915626bb57ecad7e54d8fe207676d593e (diff)
downloadmruby-32818bd25e8bb1eac87d0382a46b6cba6a9587b7.tar.gz
mruby-32818bd25e8bb1eac87d0382a46b6cba6a9587b7.zip
should build "all" before "test"; close #1774
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index c7d70797e..dbe2ed0a3 100644
--- a/Rakefile
+++ b/Rakefile
@@ -101,7 +101,7 @@ task :all => depfiles do
end
desc "run all mruby tests"
-task :test => MRuby.targets.values.map { |t| t.build_mrbtest_lib_only? ? t.libfile("#{t.build_dir}/test/mrbtest") : t.exefile("#{t.build_dir}/test/mrbtest") } do
+task :test => ["all"] + MRuby.targets.values.map { |t| t.build_mrbtest_lib_only? ? t.libfile("#{t.build_dir}/test/mrbtest") : t.exefile("#{t.build_dir}/test/mrbtest") } do
MRuby.each_target do
run_test unless build_mrbtest_lib_only?
end