mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-09-30 14:07:25 +00:00
Bump dependencies.
Bump version. Fix broken script.
This commit is contained in:
@@ -137,10 +137,11 @@ File.open(TEST_MAKEFILE, 'w') do |mkfile|
|
|||||||
mkfile.puts ''
|
mkfile.puts ''
|
||||||
|
|
||||||
# Collect mocks to generate
|
# Collect mocks to generate
|
||||||
system_mocks = cfg[:includes][:system].select { |name| name =~ MOCK_MATCHER }
|
local_mocks = cfg[:includes][:headers].select do |name|
|
||||||
raise 'Mocking of system headers is not yet supported!' unless system_mocks.empty?
|
raise 'Mocking of system headers is not yet supported!' if name =~ /^</
|
||||||
|
|
||||||
local_mocks = cfg[:includes][:local].select { |name| name =~ MOCK_MATCHER }
|
(name =~ MOCK_MATCHER)
|
||||||
|
end
|
||||||
|
|
||||||
module_names_to_mock = local_mocks.map { |name| name.sub(/#{MOCK_PREFIX}/, '').to_s }
|
module_names_to_mock = local_mocks.map { |name| name.sub(/#{MOCK_PREFIX}/, '').to_s }
|
||||||
headers_to_mock = []
|
headers_to_mock = []
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#define CMOCK_VERSION_MAJOR 2
|
#define CMOCK_VERSION_MAJOR 2
|
||||||
#define CMOCK_VERSION_MINOR 7
|
#define CMOCK_VERSION_MINOR 7
|
||||||
#define CMOCK_VERSION_BUILD 0
|
#define CMOCK_VERSION_BUILD 2
|
||||||
#define CMOCK_VERSION ((CMOCK_VERSION_MAJOR << 16) | (CMOCK_VERSION_MINOR << 8) | CMOCK_VERSION_BUILD)
|
#define CMOCK_VERSION ((CMOCK_VERSION_MAJOR << 16) | (CMOCK_VERSION_MINOR << 8) | CMOCK_VERSION_BUILD)
|
||||||
|
|
||||||
/* should be big enough to index full range of CMOCK_MEM_MAX */
|
/* should be big enough to index full range of CMOCK_MEM_MAX */
|
||||||
|
|||||||
Vendored
+1
-1
Submodule vendor/c_exception updated: 733d3aa659...923835236b
Vendored
+1
-1
Submodule vendor/unity updated: b6763fbd9c...2b67b99a4a
Reference in New Issue
Block a user