From 1703bd1a5e83f07917d98db7b64237ff1d162e65 Mon Sep 17 00:00:00 2001 From: jsalling Date: Mon, 14 Dec 2015 17:04:17 -0600 Subject: [PATCH] Reduce stack usage by removing unnecessary call from group runner in Fixture Defining a group_runner which calls group_runner_runAll() is redundant --- extras/fixture/src/unity_fixture.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/extras/fixture/src/unity_fixture.h b/extras/fixture/src/unity_fixture.h index cbbdbae..57c8868 100644 --- a/extras/fixture/src/unity_fixture.h +++ b/extras/fixture/src/unity_fixture.h @@ -55,13 +55,8 @@ int UnityMain(int argc, const char* argv[], void (*runAllTests)(void)); //This goes at the bottom of each test file or in a separate c file #define TEST_GROUP_RUNNER(group)\ - void TEST_##group##_GROUP_RUNNER_runAll(void);\ void TEST_##group##_GROUP_RUNNER(void);\ - void TEST_##group##_GROUP_RUNNER(void)\ - {\ - TEST_##group##_GROUP_RUNNER_runAll();\ - }\ - void TEST_##group##_GROUP_RUNNER_runAll(void) + void TEST_##group##_GROUP_RUNNER(void) //Call this from main #define RUN_TEST_GROUP(group)\