mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-08-16 16:17:50 +00:00
@@ -86,7 +86,10 @@ class UnityTestSummary
|
|||||||
def get_details(_result_file, lines)
|
def get_details(_result_file, lines)
|
||||||
results = { failures: [], ignores: [], successes: [] }
|
results = { failures: [], ignores: [], successes: [] }
|
||||||
lines.each do |line|
|
lines.each do |line|
|
||||||
_src_file, _src_line, _test_name, status, _msg = line.split(/:/)
|
status_match = line.match(/^[^:]+:[^:]+:\w+(?:\([^\)]*\))?:([^:]+):?/)
|
||||||
|
next unless status_match
|
||||||
|
status = status_match.captures[0]
|
||||||
|
|
||||||
line_out = (@root && (@root != 0) ? "#{@root}#{line}" : line).gsub(/\//, '\\')
|
line_out = (@root && (@root != 0) ? "#{@root}#{line}" : line).gsub(/\//, '\\')
|
||||||
case status
|
case status
|
||||||
when 'IGNORE' then results[:ignores] << line_out
|
when 'IGNORE' then results[:ignores] << line_out
|
||||||
|
|||||||
+2
-2
@@ -9,8 +9,8 @@
|
|||||||
#define UNITY
|
#define UNITY
|
||||||
|
|
||||||
#define UNITY_VERSION_MAJOR 2
|
#define UNITY_VERSION_MAJOR 2
|
||||||
#define UNITY_VERSION_MINOR 5
|
#define UNITY_VERSION_MINOR 6
|
||||||
#define UNITY_VERSION_BUILD 4
|
#define UNITY_VERSION_BUILD 0
|
||||||
#define UNITY_VERSION ((UNITY_VERSION_MAJOR << 16) | (UNITY_VERSION_MINOR << 8) | UNITY_VERSION_BUILD)
|
#define UNITY_VERSION ((UNITY_VERSION_MAJOR << 16) | (UNITY_VERSION_MINOR << 8) | UNITY_VERSION_BUILD)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Reference in New Issue
Block a user