Skip to content

Commit 9b80991

Browse files
committed
streamline built-in target files to make them a better foundation.
1 parent ff41c2d commit 9b80991

20 files changed

Lines changed: 129 additions & 871 deletions

examples/example_3/rakefile.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
task prepare_for_tests: TEMP_DIRS
2222

23-
DEFAULT_CONFIG_FILE = 'gcc_64.yml'.freeze
23+
DEFAULT_CONFIG_FILE = 'gcc.yml'.freeze
2424
configure_toolchain(DEFAULT_CONFIG_FILE)
2525

2626
task unit: [:prepare_for_tests] do

test/rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ task :prepare_for_tests => TEMP_DIRS
2727
include RakefileHelpers
2828

2929
# Load proper GCC as defult configuration
30-
DEFAULT_CONFIG_FILE = 'gcc_64_auto_stdint.yml'
30+
DEFAULT_CONFIG_FILE = 'gcc.yml'
3131
$unity_test_config_file = DEFAULT_CONFIG_FILE
3232

3333
############# ALL THE SELF-TESTS WE CAN PERFORM
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
# SPDX-License-Identifier: MIT
66
# =========================================================================
77

8+
# This file provides a base configuration for working with the clang (llvm)
9+
# toolchain, targetting native compilation, using mostly default settings,
10+
# with many warnings enabled for self-validation. It can be modified or
11+
# mixed to customize for your project needs.
12+
813
---
914
:tools:
1015
:test_compiler:

test/targets/clang_file.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@
55
# SPDX-License-Identifier: MIT
66
# =========================================================================
77

8+
# This file provides a base configuration for working with the gcc
9+
# toolchain, targetting native compilation, using mostly default settings,
10+
# with many warnings enabled for self-validation. It can be modified or
11+
# mixed to customize for your project needs.
12+
813
---
914
:tools:
1015
:test_compiler:
1116
:name: compiler
1217
:executable: gcc
1318
:arguments:
1419
- "-c"
15-
- "-m64"
1620
- "-Wall"
1721
- "-Wno-address"
1822
- "-std=c99"
@@ -40,7 +44,6 @@
4044
:arguments:
4145
- "${1}"
4246
- "-lm"
43-
- "-m64"
4447
- "-o ${2}"
4548
:extension:
4649
:object: ".o"
@@ -50,3 +53,4 @@
5053
- UNITY_INCLUDE_DOUBLE
5154
- UNITY_SUPPORT_TEST_CASES
5255
- UNITY_SUPPORT_64
56+
- UNITY_POINTER_WIDTH=64

test/targets/gcc_32.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

test/targets/gcc_64.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

test/targets/gcc_64_ansi.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

test/targets/gcc_64_auto_limits.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

test/targets/gcc_64_manual_math.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)