2016-01-21 14:30:40 +01:00
Testing log messages
$ log . c . bin - - verbose
[ \ x1b [ 0 ; 34 m - - - - \ x1b [ 0 m ] Criterion v2 .2 .0 ( esc )
[ \ x1b [ 0 ; 34 m === = \ x1b [ 0 m ] Running \ x1b [ 0 ; 34 m2 \ x1b [ 0 m tests from \ x1b [ 0 ; 33 mlogging \ x1b [ 0 m: ( esc )
[ \ x1b [ 0 ; 34 mRUN \ x1b [ 0 m ] logging:: format ( esc )
[ \ x1b [ 0 ; 34 m - - - - \ x1b [ 0 m ] Log messages are printf - formatted strings . ( esc )
[ \ x1b [ 0 ; 32 mPASS \ x1b [ 0 m ] logging:: format ( esc )
[ \ x1b [ 0 ; 34 mRUN \ x1b [ 0 m ] logging:: simple ( esc )
[ \ x1b [ 0 ; 34 m - - - - \ x1b [ 0 m ] This is an informational message . They are not displayed by default . ( esc )
[ \ x1b [ 0 ; 33 mWARN \ x1b [ 0 m ] This is a warning . They indicate some possible malfunction or misconfiguration in the test . ( esc )
[ \ x1b [ 0 ; 31 mERR \ x1b [ 0 m ] \ x1b [ 0 ; 31 m \x1b[0;1mThis is an error. They indicate serious problems and are usually shown before the test is aborted.\x 1 b [ 0 m ( esc )
[ \ x1b [ 0 ; 32 mPASS \ x1b [ 0 m ] logging:: simple ( esc )
[ \ x1b [ 0 ; 34 m === = \ x1b [ 0 m ] \ x1b [ 0 ; 1 mSynthesis: Tested: \ x1b [ 0 ; 34 m2 \ x1b [ 0 ; 1 m | Passing: \ x1b [ 0 ; 32 m2 \ x1b [ 0 ; 1 m | Failing: \ x1b [ 0 ; 31 m0 \ x1b [ 0 ; 1 m | Crashing: \ x1b [ 0 ; 31 m0 \ x1b [ 0 ; 1 m \ x1b [ 0 m ( esc )
2016-02-17 22:56:23 +01:00
$ log . cc . bin - - verbose
[ \ x1b [ 0 ; 34 m - - - - \ x1b [ 0 m ] Criterion v2 .2 .0 ( esc )
[ \ x1b [ 0 ; 34 m === = \ x1b [ 0 m ] Running \ x1b [ 0 ; 34 m1 \ x1b [ 0 m test from \ x1b [ 0 ; 33 mlogging \ x1b [ 0 m: ( esc )
[ \ x1b [ 0 ; 34 mRUN \ x1b [ 0 m ] logging:: stream ( esc )
[ \ x1b [ 0 ; 34 m - - - - \ x1b [ 0 m ] This is an informational message . They are not displayed by default . ( esc )
[ \ x1b [ 0 ; 33 mWARN \ x1b [ 0 m ] This is a warning . They indicate some possible malfunction or misconfiguration in the test . ( esc )
[ \ x1b [ 0 ; 31 mERR \ x1b [ 0 m ] \ x1b [ 0 ; 31 m \x1b[0;1mThis is an error. They indicate serious problems and are usually shown before the test is aborted.\x 1 b [ 0 m ( esc )
[ \ x1b [ 0 ; 32 mPASS \ x1b [ 0 m ] logging:: stream ( esc )
[ \ x1b [ 0 ; 34 m === = \ x1b [ 0 m ] \ x1b [ 0 ; 1 mSynthesis: Tested: \ x1b [ 0 ; 34 m1 \ x1b [ 0 ; 1 m | Passing: \ x1b [ 0 ; 32 m1 \ x1b [ 0 ; 1 m | Failing: \ x1b [ 0 ; 31 m0 \ x1b [ 0 ; 1 m | Crashing: \ x1b [ 0 ; 31 m0 \ x1b [ 0 ; 1 m \ x1b [ 0 m ( esc )
2016-01-21 14:30:40 +01:00
Testing log severity
$ log . c . bin
[ \ x1b [ 0 ; 33 mWARN \ x1b [ 0 m ] This is a warning . They indicate some possible malfunction or misconfiguration in the test . ( esc )
[ \ x1b [ 0 ; 31 mERR \ x1b [ 0 m ] \ x1b [ 0 ; 31 m \x1b[0;1mThis is an error. They indicate serious problems and are usually shown before the test is aborted.\x 1 b [ 0 m ( esc )
[ \ x1b [ 0 ; 34 m === = \ x1b [ 0 m ] \ x1b [ 0 ; 1 mSynthesis: Tested: \ x1b [ 0 ; 34 m2 \ x1b [ 0 ; 1 m | Passing: \ x1b [ 0 ; 32 m2 \ x1b [ 0 ; 1 m | Failing: \ x1b [ 0 ; 31 m0 \ x1b [ 0 ; 1 m | Crashing: \ x1b [ 0 ; 31 m0 \ x1b [ 0 ; 1 m \ x1b [ 0 m ( esc )