mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-28 02:34:27 +01:00
- make test runner handle spaces and dashes in file names
This commit is contained in:
@@ -14,7 +14,7 @@ require HERE + 'rakefile_helper'
|
||||
include RakefileHelpers
|
||||
|
||||
# Load default configuration, for now
|
||||
DEFAULT_CONFIG_FILE = 'gcc.yml'
|
||||
DEFAULT_CONFIG_FILE = 'gcc_32.yml'
|
||||
configure_toolchain(DEFAULT_CONFIG_FILE)
|
||||
|
||||
task :unit do
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user