mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-25 17:31:36 +01:00
- revert last change until I figure out what I screwed up
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@102 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
@@ -40,9 +40,12 @@
|
||||
|
||||
#define TEST_ABORT() {longjmp(Unity.AbortFrame, 1);}
|
||||
|
||||
#ifndef RUN_TEST
|
||||
#define RUN_TEST(func, line_num) UnityDefaultTestRun(func, #func, line_num)
|
||||
#endif
|
||||
#define RUN_TEST(func, line_num) \
|
||||
Unity.CurrentTestName = #func; \
|
||||
Unity.CurrentTestLineNumber = line_num; \
|
||||
Unity.NumberOfTests++; \
|
||||
runTest(func); \
|
||||
UnityConcludeTest();
|
||||
|
||||
#define TEST_LINE_NUM (Unity.CurrentTestLineNumber)
|
||||
#define TEST_IS_IGNORED (Unity.CurrentTestIgnored)
|
||||
|
||||
Reference in New Issue
Block a user