2019-04-10 13:42:17 -05:00
|
|
|
// 10 april 2019
|
2019-04-28 12:12:40 -05:00
|
|
|
#include "test.h"
|
|
|
|
|
|
|
|
static void timeoutMain(testingT *t, void *data)
|
|
|
|
{
|
|
|
|
uiMain();
|
|
|
|
}
|
|
|
|
|
|
|
|
void timeout_uiMain(testingT *t, int64_t timeout, int failNowOnError)
|
|
|
|
{
|
|
|
|
testingRunWithTimeout(t, timeout,
|
|
|
|
timeoutMain, NULL,
|
|
|
|
"uiMain()", failNowOnError);
|
|
|
|
}
|
2019-04-10 13:42:17 -05:00
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
|
|
|
return testingMain();
|
|
|
|
}
|