- added accessor to line number

- tweaked reporting colors

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@66 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
mvandervoord
2010-03-24 01:06:07 +00:00
parent b10a094214
commit 3a2595ceb6
2 changed files with 4 additions and 2 deletions

View File

@ -16,11 +16,11 @@ def report(message)
:green
when /^OK$/
:green
when /FAIL/
when /(?:FAIL|ERROR)/
:red
when /IGNORE/
:yellow
when /^(Creating|Compiling|Linking)/
when /^(?:Creating|Compiling|Linking)/
:white
else
:blue

View File

@ -39,6 +39,8 @@
runTest(func); \
UnityConcludeTest();
#define TEST_LINE_NUM (Unity.CurrentTestLineNumber)
//-------------------------------------------------------
// Basic Fail and Ignore
//-------------------------------------------------------