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

parse_output should parse color output now

This commit is contained in:
Alex Overchenko
2020-11-27 10:10:01 +03:00
committed by Alex Overchenko
parent 8ba0138600
commit 2b725883f7

View File

@@ -288,6 +288,17 @@ class ParseOutput
line_array.push('No reason given')
test_ignored(line_array)
@test_ignored += 1
elsif line_array.size >= 4
if line_array[3].include? 'PASS'
test_passed(line_array)
@test_passed += 1
elsif line_array[3].include? 'FAIL'
test_failed(line_array)
@test_failed += 1
elsif line_array[3].include? 'IGNORE:'
test_ignored(line_array)
@test_ignored += 1
end
end
@total_tests = @test_passed + @test_failed + @test_ignored
end