1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 08:25:58 +01:00

Allow summarizer to search through subdirectories for results files

This commit is contained in:
Mark VanderVoord
2015-06-19 11:48:48 -04:00
parent 77af37add0
commit 7272480c1b

View File

@@ -122,7 +122,7 @@ if $0 == __FILE__
begin
#look in the specified or current directory for result files
ARGV[0] ||= './'
targets = "#{ARGV[0].gsub(/\\/, '/')}*.test*"
targets = "#{ARGV[0].gsub(/\\/, '/')}**/*.test*"
results = Dir[targets]
raise "No *.testpass or *.testfail files found in '#{targets}'" if results.empty?
uts.set_targets(results)