mirror of
https://gitee.com/openharmony/xts_tools
synced 2024-11-23 16:00:16 +00:00
!332 LiteTestPrint改成printf带行号函数名
Merge pull request !332 from code4lala/bes_ok
This commit is contained in:
commit
482091b6b6
@ -112,7 +112,7 @@ static void runSuite##test_suite(void) {\
|
|||||||
}\
|
}\
|
||||||
TEST_INIT(runSuite##test_suite);
|
TEST_INIT(runSuite##test_suite);
|
||||||
|
|
||||||
void LiteTestPrint(const char *fmt, ...);
|
#define LiteTestPrint(fmt, arg...) printf("%s:%u[%s] " fmt "\n", __FILE__, __LINE__, __func__, ##arg)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#if __cplusplus
|
#if __cplusplus
|
||||||
|
@ -196,14 +196,6 @@ static void RunTestSuite(const char* suite_name)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LiteTestPrint(const char *fmt, ...)
|
|
||||||
{
|
|
||||||
va_list ap;
|
|
||||||
va_start(ap, fmt);
|
|
||||||
printf(fmt, ap);
|
|
||||||
va_end(ap);
|
|
||||||
}
|
|
||||||
|
|
||||||
void ObtainProductParams(void)
|
void ObtainProductParams(void)
|
||||||
{
|
{
|
||||||
const char *bootloaderVersion = GetBootloaderVersion();
|
const char *bootloaderVersion = GetBootloaderVersion();
|
||||||
|
Loading…
Reference in New Issue
Block a user