From 7272480c1b49d06bb474cf59dd591c1f4cf1b523 Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Fri, 19 Jun 2015 11:48:48 -0400 Subject: [PATCH] Allow summarizer to search through subdirectories for results files --- auto/unity_test_summary.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/unity_test_summary.rb b/auto/unity_test_summary.rb index 8cf360f..e9c13b6 100644 --- a/auto/unity_test_summary.rb +++ b/auto/unity_test_summary.rb @@ -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)