提交 7272480c 编写于 作者: M Mark VanderVoord

Allow summarizer to search through subdirectories for results files

上级 77af37ad
...@@ -122,7 +122,7 @@ if $0 == __FILE__ ...@@ -122,7 +122,7 @@ if $0 == __FILE__
begin begin
#look in the specified or current directory for result files #look in the specified or current directory for result files
ARGV[0] ||= './' ARGV[0] ||= './'
targets = "#{ARGV[0].gsub(/\\/, '/')}*.test*" targets = "#{ARGV[0].gsub(/\\/, '/')}**/*.test*"
results = Dir[targets] results = Dir[targets]
raise "No *.testpass or *.testfail files found in '#{targets}'" if results.empty? raise "No *.testpass or *.testfail files found in '#{targets}'" if results.empty?
uts.set_targets(results) uts.set_targets(results)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册