The unit test argument is allowed to be used
This commit is contained in:
parent
fb199cd29d
commit
bfc491a2d2
@ -69,9 +69,9 @@
|
|||||||
extern int unitfail;
|
extern int unitfail;
|
||||||
|
|
||||||
#define UNITTEST_START \
|
#define UNITTEST_START \
|
||||||
int test(char *unused) \
|
int test(char *arg) \
|
||||||
{ \
|
{ \
|
||||||
(void)unused; \
|
(void)arg; \
|
||||||
if (unit_setup()) { \
|
if (unit_setup()) { \
|
||||||
fail("unit_setup() failure"); \
|
fail("unit_setup() failure"); \
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user