mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 18:12:46 +01:00
Merge pull request #20535 from benpicco/TextUIRunner_end-return
sys/embunit: return failure state in TextUIRunner_end()
This commit is contained in:
commit
255a6923c0
@ -101,7 +101,8 @@ void TextUIRunner_runTest(TestRef test)
|
|||||||
Outputter_printEndTest(outputterRef_,test);
|
Outputter_printEndTest(outputterRef_,test);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TextUIRunner_end(void)
|
int TextUIRunner_end(void)
|
||||||
{
|
{
|
||||||
Outputter_printStatistics(outputterRef_,&result_);
|
Outputter_printStatistics(outputterRef_,&result_);
|
||||||
|
return wasfailure_;
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ void TextUIRunner_setOutputter(OutputterRef outputter);
|
|||||||
void TextUIRunner_startWithOutputter(OutputterRef outputter);
|
void TextUIRunner_startWithOutputter(OutputterRef outputter);
|
||||||
void TextUIRunner_start(void);
|
void TextUIRunner_start(void);
|
||||||
void TextUIRunner_runTest(TestRef test);
|
void TextUIRunner_runTest(TestRef test);
|
||||||
void TextUIRunner_end(void);
|
int TextUIRunner_end(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user