null+****@clear*****
null+****@clear*****
2012年 3月 13日 (火) 17:28:45 JST
Kouhei Sutou 2012-03-13 17:28:45 +0900 (Tue, 13 Mar 2012)
New Revision: 4b174fb1f6dcab6d799d053211c7948c87cd1a81
Log:
Pass test name instead of test script path
Modified files:
lib/groonga/tester.rb
Modified: lib/groonga/tester.rb (+4 -3)
===================================================================
--- lib/groonga/tester.rb 2012-03-13 17:27:54 +0900 (39ad275)
+++ lib/groonga/tester.rb 2012-03-13 17:28:45 +0900 (3cfda48)
@@ -181,7 +181,8 @@ module Groonga
def run(reporter)
succeeded = true
- reporter.start_test(@test_script_path)
+ test_name = @test_script_path.basename.to_s
+ reporter.start_test(test_name)
actual_result = run_groonga_script
actual_result = normalize_result(actual_result)
expected_result = read_expected_result
@@ -590,8 +591,8 @@ module Groonga
@output.flush
end
- def start_test(test_script_path)
- @test_name = test_script_path.basename
+ def start_test(test_name)
+ @test_name = test_name
print(" #{@test_name}")
@output.flush
end