summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorYuichiro MASUI <[email protected]>2013-02-03 05:18:28 +0900
committerYuichiro MASUI <[email protected]>2013-02-03 13:38:18 +0900
commita74f92b46be80a754486e696d117903fbb090686 (patch)
treed8a236616935a0341c1d1272642c0227231c63c9 /Rakefile
parentdfff732318395c7dc2a01ba64bafd1bd46bf454d (diff)
downloadmruby-a74f92b46be80a754486e696d117903fbb090686.tar.gz
mruby-a74f92b46be80a754486e696d117903fbb090686.zip
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