提交 98e8590f 编写于 作者: M Mark VanderVoord

Use correct macro for unity_fixture's FAIL.

Output used headers from test runner generator
上级 f97e03d0
......@@ -369,6 +369,5 @@ if ($0 == __FILE__)
#create the default test runner name if not specified
ARGV[1] = ARGV[0].gsub(".c","_Runner.c") if (!ARGV[1])
UnityTestRunnerGenerator.new(options).run(ARGV[0], ARGV[1])
puts UnityTestRunnerGenerator.new(options).run(ARGV[0], ARGV[1]).inspect
end
......@@ -75,7 +75,7 @@ int UnityMain(int argc, const char* argv[], void (*runAllTests)(void));
#define UT_PTR_SET(ptr, newPointerValue) UnityPointer_Set((void**)&ptr, (void*)newPointerValue)
#define TEST_ASSERT_POINTERS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_PTR(expected, actual)
#define TEST_ASSERT_BYTES_EQUAL(expected, actual) TEST_ASSERT_EQUAL_HEX8(0xff & (expected), 0xff & (actual))
#define FAIL(message) TEST_FAIL((message))
#define FAIL(message) TEST_FAIL_MESSAGE((message))
#define CHECK(condition) TEST_ASSERT_TRUE((condition))
#define LONGS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_INT((expected), (actual))
#define STRCMP_EQUAL(expected, actual) TEST_ASSERT_EQUAL_STRING((expected), (actual))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册