Skip to content

generator_test_results.rb fail if using color output #1135

@jej-guldmann

Description

@jej-guldmann

After the tests have run and assuming they pass, the generator checks the output.
The detection of PASS only works if you have not enabled color output.

In line 129 and 134 the $ sign must be removed.

See code snippet below

when /(:PASS$)/
elements = extract_line_elements( executable, line, results[:source][:file] )
results[:successes] << elements[0]
results[:stdout] << elements[1] if (!elements[1].nil?)

  when /(:PASS \(.* ms\)$)/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions