1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 02:11:36 +01:00

- make test runner handle spaces and dashes in file names

This commit is contained in:
mvandervoord
2012-11-25 15:52:27 -05:00
parent 292a6eac9e
commit 97000e0104
4 changed files with 10 additions and 11 deletions

View File

@@ -107,12 +107,8 @@ void UnityTestRunner(unityfunction* setup,
UnityPointer_UndoAllSets();
if (!Unity.CurrentTestFailed)
UnityMalloc_EndTest();
UnityConcludeFixtureTest();
}
else
{
//aborting - jwg - di i need these for the other TEST_PROTECTS?
}
UnityConcludeFixtureTest();
}
}
@@ -254,7 +250,7 @@ void* unity_realloc(void * oldMem, size_t size)
return oldMem;
newMem = unity_malloc(size);
memcpy(newMem, oldMem, size);
memcpy(newMem, oldMem, guard->size);
unity_free(oldMem);
return newMem;
}