From f7c3f73b21497f7c0e6c6941a19c883df9de27c8 Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Sat, 16 May 2026 14:48:47 -0400 Subject: [PATCH] Tweak naming to fall-through to the correct target --- test/targets/gcc.yml | 45 ----------------------------------------- test/targets/gcc_32.yml | 18 +++++++++++++++++ 2 files changed, 18 insertions(+), 45 deletions(-) delete mode 100644 test/targets/gcc.yml create mode 100644 test/targets/gcc_32.yml diff --git a/test/targets/gcc.yml b/test/targets/gcc.yml deleted file mode 100644 index 93e518d..0000000 --- a/test/targets/gcc.yml +++ /dev/null @@ -1,45 +0,0 @@ -# ========================================================================= -# CMock - Automatic Mock Generation for C -# ThrowTheSwitch.org -# Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams -# SPDX-License-Identifier: MIT -# ========================================================================= - ---- -colour: true -:tools: - :test_compiler: - :name: compiler - :executable: gcc - :arguments: - - "-c" - - "-Wall" - - "-Wextra" - - "-Wunused-parameter" - - "-Wno-address" - - "-Wno-invalid-token-paste" - - "-std=c99" - - "-pedantic" - - "-O0" - - '-I"$": COLLECTION_PATHS_TEST_TOOLCHAIN_INCLUDE' - - '-I"$": COLLECTION_PATHS_TEST_SUPPORT_SOURCE_INCLUDE_VENDOR' - - "-D$: COLLECTION_DEFINES_TEST_AND_VENDOR" - - "${1}" - - "-o ${2}" - :test_linker: - :name: linker - :executable: gcc - :arguments: - - "${1}" - - "-lm" - - "-o ${2}" -:extension: - :object: ".o" - :executable: ".exe" -:defines: - :test: - - UNITY_SUPPORT_64 -:unsupported: - - out_of_memory - - unity_64bit_support - - callingconv diff --git a/test/targets/gcc_32.yml b/test/targets/gcc_32.yml new file mode 100644 index 0000000..1afba39 --- /dev/null +++ b/test/targets/gcc_32.yml @@ -0,0 +1,18 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + +# CMock overlay for vendor/unity/test/targets/gcc_32.yml +# Only contains additions not present in the Unity base target. +--- +:defines: + :test: + - UNITY_SUPPORT_64 + +:unsupported: + - out_of_memory + - unity_64bit_support + - callingconv