From 7bb67c3e46f98101e63a62bb7a8094fb662b59f1 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 23 Jan 2020 21:36:50 -0500 Subject: [PATCH] More adaptations. --- test/initmain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/initmain.c b/test/initmain.c index 95a38201..831274ce 100644 --- a/test/initmain.c +++ b/test/initmain.c @@ -111,9 +111,8 @@ static void queueOrder(struct testParams *p) uiQueueMain(done, NULL); } -// TODO avoid the need to carry over testingprivRet // TODO also actually handle file and line again -static void checkOrderFull(int *testingprivRet, const char *file, long line, uint32_t flag) +static void checkOrderFull(const char *file, long line, uint32_t flag) { int i; @@ -131,7 +130,7 @@ static void checkOrderFull(int *testingprivRet, const char *file, long line, uin orders[0].result, orders[0].order); } -#define checkOrder(flag) checkOrderFull(testingprivRet, __FILE__, __LINE__, flag) +#define checkOrder(flag) checkOrderFull(__FILE__, __LINE__, flag) Test(QueueMain_Sequence) {