aboutsummaryrefslogtreecommitdiffstats
path: root/test.rb
diff options
context:
space:
mode:
authortoshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8>2012-05-01 04:53:47 +0000
committertoshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8>2012-05-01 04:53:47 +0000
commit9083a80bb9bad9c63db2838b56f5ee5f9ce99cc9 (patch)
treecc64c4e0b17763af44aae40576cbf5222cdd3871 /test.rb
parent55a39098eaef5fa1833b36188c344df42e8aa96c (diff)
downloadmikutter-9083a80bb9bad9c63db2838b56f5ee5f9ce99cc9.tar.gz
テストスクリプトが終了ステータスを返すようにした
git-svn-id: svn://toshia.dip.jp/mikutter/trunk@769 03aab468-d3d2-4883-8b12-f661bbf03fa8
Diffstat (limited to 'test.rb')
-rwxr-xr-xtest.rb26
1 files changed, 1 insertions, 25 deletions
diff --git a/test.rb b/test.rb
index d0d67806..e6862c7b 100755
--- a/test.rb
+++ b/test.rb
@@ -15,28 +15,4 @@ Process.waitall.each{ |pid, stat|
puts "#{successed.size} test cases successed #{successed.join(', ')}"
puts "#{failed.size} test cases failed #{failed.join(', ')}"
-# >> Loaded suite ./core/test/test_user
-# >> Started
-# >> .
-# >> Finished in 0.317922 seconds.
-# >>
-# >> 1 tests, 2 assertions, 0 failures, 0 errors
-# >> Loaded suite ./core/test/test_utils
-# >> Started
-# >> .
-# >> Finished in 0.000802 seconds.
-# >>
-# >> 1 tests, 1 assertions, 0 failures, 0 errors
-# >> Loaded suite ./core/test/test_retriever
-# >> Started
-# >> .
-# >> Finished in 0.000387 seconds.
-# >>
-# >> 1 tests, 1 assertions, 0 failures, 0 errors
-# >> Loaded suite ./core/test/test_message
-# >> Started
-# >> .
-# >> Finished in 0.002613 seconds.
-# >>
-# >> 1 tests, 9 assertions, 0 failures, 0 errors
-# >> all test case passed
+exit failed.size