Loading Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ PUB_INC = ./include #=============================================================================== # Shared Build Variables #=============================================================================== CC = gcc CC ?= gcc OPTIMIZE = -O3 WARN = -Wall -Wextra -pedantic CDEFS += -D_POSIX_C_SOURCE=1 -D_C99_SOURCE=1 Loading Rakefile +1 −0 Original line number Diff line number Diff line require 'kinetic-ruby' KineticRuby::Rake::load_tasks require 'ceedling' Ceedling.load_project(config: './project.yml') Loading project.yml +9 −6 Original line number Diff line number Diff line Loading @@ -93,7 +93,7 @@ :tools: :test_includes_preprocessor: :executable: gcc :executable: "#{ENV['CC']}" :arguments: - -E - -MM Loading @@ -112,7 +112,7 @@ - -D_C99_SOURCE=1 - ${1} :test_compiler: :executable: gcc :executable: "#{ENV['CC']}" :arguments: - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE Loading @@ -125,17 +125,20 @@ - -pedantic - -D_POSIX_C_SOURCE=1 - -D_C99_SOURCE=1 - -Wno-nonnull - -Wno-address - -Wno-missing-field-initializers - -c ${1} - -o ${2} :test_linker: :executable: gcc :executable: "#{ENV['CC']}" :name: test_linker :arguments: - "\"${1}\"" - -l crypto - "-o \"${2}\"" :gcov_linker: :executable: gcc :executable: "#{ENV['CC']}" :arguments: - -fprofile-arcs - -ftest-coverage Loading @@ -143,7 +146,7 @@ - ${1} - -o ${2} :release_compiler: :executable: gcc :executable: "#{ENV['CC']}" :arguments: - -I"$": 'COLLECTION_PATHS_SOURCE_INCLUDE_VENDOR' - -I"$": 'COLLECTION_PATHS_RELEASE_TOOLCHAIN_INCLUDE' Loading @@ -161,7 +164,7 @@ - "-c \"${1}\"" - "-o \"${2}\"" :release_linker: :executable: gcc :executable: "#{ENV['CC']}" :name: release_linker :arguments: - "\"${1}\"" Loading test/unit/test_kinetic_allocator.c +0 −2 Original line number Diff line number Diff line Loading @@ -53,12 +53,10 @@ void test_KineticAllocator_FreeAllPDUs_should_free_full_list_of_PDUs(void) LOG_LOCATION; const int count = 3; KineticListItem* list[count]; KineticPDU* pdus[count]; // Allocate some PDUs and list items to hold them for (int i = 0; i < count; i++) { list[i] = (KineticListItem*)malloc(sizeof(KineticListItem)); pdus[i] = (KineticPDU*)malloc(sizeof(KineticPDU)); LOGF("ALLOCATED item[%d]: 0x%0llX", i, (long long)list[i]); } Loading Loading
Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ PUB_INC = ./include #=============================================================================== # Shared Build Variables #=============================================================================== CC = gcc CC ?= gcc OPTIMIZE = -O3 WARN = -Wall -Wextra -pedantic CDEFS += -D_POSIX_C_SOURCE=1 -D_C99_SOURCE=1 Loading
Rakefile +1 −0 Original line number Diff line number Diff line require 'kinetic-ruby' KineticRuby::Rake::load_tasks require 'ceedling' Ceedling.load_project(config: './project.yml') Loading
project.yml +9 −6 Original line number Diff line number Diff line Loading @@ -93,7 +93,7 @@ :tools: :test_includes_preprocessor: :executable: gcc :executable: "#{ENV['CC']}" :arguments: - -E - -MM Loading @@ -112,7 +112,7 @@ - -D_C99_SOURCE=1 - ${1} :test_compiler: :executable: gcc :executable: "#{ENV['CC']}" :arguments: - -I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR - -I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE Loading @@ -125,17 +125,20 @@ - -pedantic - -D_POSIX_C_SOURCE=1 - -D_C99_SOURCE=1 - -Wno-nonnull - -Wno-address - -Wno-missing-field-initializers - -c ${1} - -o ${2} :test_linker: :executable: gcc :executable: "#{ENV['CC']}" :name: test_linker :arguments: - "\"${1}\"" - -l crypto - "-o \"${2}\"" :gcov_linker: :executable: gcc :executable: "#{ENV['CC']}" :arguments: - -fprofile-arcs - -ftest-coverage Loading @@ -143,7 +146,7 @@ - ${1} - -o ${2} :release_compiler: :executable: gcc :executable: "#{ENV['CC']}" :arguments: - -I"$": 'COLLECTION_PATHS_SOURCE_INCLUDE_VENDOR' - -I"$": 'COLLECTION_PATHS_RELEASE_TOOLCHAIN_INCLUDE' Loading @@ -161,7 +164,7 @@ - "-c \"${1}\"" - "-o \"${2}\"" :release_linker: :executable: gcc :executable: "#{ENV['CC']}" :name: release_linker :arguments: - "\"${1}\"" Loading
test/unit/test_kinetic_allocator.c +0 −2 Original line number Diff line number Diff line Loading @@ -53,12 +53,10 @@ void test_KineticAllocator_FreeAllPDUs_should_free_full_list_of_PDUs(void) LOG_LOCATION; const int count = 3; KineticListItem* list[count]; KineticPDU* pdus[count]; // Allocate some PDUs and list items to hold them for (int i = 0; i < count; i++) { list[i] = (KineticListItem*)malloc(sizeof(KineticListItem)); pdus[i] = (KineticPDU*)malloc(sizeof(KineticPDU)); LOGF("ALLOCATED item[%d]: 0x%0llX", i, (long long)list[i]); } Loading