Skip to content

Color print on Visual Studio older than 2019 #44

@nikishyn

Description

@nikishyn
  1. Hi, when running tests I have printed:

�[32m[==========]�[0m Running 1 test cases.
�[32m[ RUN ]�[0m Test0.uint8Test_default
�[32m[ OK ]�[0m Test0.uint8Test_default (7700ns)
�[32m[==========]�[0m 1 test cases ran.
�[32m[ PASSED ]�[0m 1 tests.

Windows 10 Pro, Vers 1909, Build: 18363.1139
MSVC 2015.

  1. it seems on line 923 there is an attempt to read an uninitialized variable.
    utest_state.tests[index].func(&result, utest_state.tests[index].index);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions