should build "all" before "test"; close #1774

parent 8e170ce9
...@@ -101,7 +101,7 @@ task :all => depfiles do ...@@ -101,7 +101,7 @@ task :all => depfiles do
end end
desc "run all mruby tests" 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 MRuby.each_target do
run_test unless build_mrbtest_lib_only? run_test unless build_mrbtest_lib_only?
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment