summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-02-03 16:14:23 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2013-02-03 16:14:23 -0800
commit913faa43c83f31898a66dad394f609e547e1d3bd (patch)
treeddbf005de60b894b617a94cc1038cb64778aef3c /Rakefile
parentbaa5ed9c8ec737e566ffd73a29361961422abe02 (diff)
parent93c0f3b7d44a8775087dcbf49642ddd6c44c44e6 (diff)
downloadmruby-913faa43c83f31898a66dad394f609e547e1d3bd.tar.gz
mruby-913faa43c83f31898a66dad394f609e547e1d3bd.zip
Merge pull request #813 from masuidrive/generate_mrbtest_a
Generate mrbtest.a file for sparete from driver.o
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index ac2d43ae5..74e714ca3 100644
--- a/Rakefile
+++ b/Rakefile
@@ -62,9 +62,9 @@ task :all => depfiles do
end
desc "run all mruby tests"
-task :test => MRuby.targets.values.map { |t| t.exefile("#{t.build_dir}/test/mrbtest") } do
+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
MRuby.each_target do
- run_test
+ run_test unless build_mrbtest_lib_only?
end
end