clang_strict.yml 1.4 KB
Newer Older
1 2 3 4
---
colour: true
:unity:
  :plugins: []
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
:tools:
  :test_compiler:
    :name: compiler
    :executable: clang
    :arguments:
    - "-c"
    - "-Wall"
    - "-Wextra"
    - "-Werror"
    - "-Wcast-qual"
    - "-Wconversion"
    - "-Wdisabled-optimization"
    - "-Wformat=2"
    - "-Winit-self"
    - "-Winline"
    - "-Winvalid-pch"
    - "-Wmissing-include-dirs"
    - "-Wnonnull"
    - "-Wpacked"
    - "-Wpointer-arith"
    - "-Wswitch-default"
    - "-Wstrict-aliasing"
    - "-Wstrict-overflow=5"
    - "-Wuninitialized"
    - "-Wunused"
    - "-Wreturn-type"
    - "-Wshadow"
    - "-Wundef"
    - "-Wwrite-strings"
    - "-Wno-nested-externs"
    - "-Wno-unused-parameter"
    - "-Wno-variadic-macros"
    - "-Wbad-function-cast"
    - "-fms-extensions"
    - "-fno-omit-frame-pointer"
    - "-fno-common"
    - "-fstrict-aliasing"
    - "-std=gnu99"
    - "-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: clang
    :arguments:
    - "${1}"
    - "-lm"
    - "-m64"
    - "-o ${2}"
:extension:
  :object: ".o"
  :executable: ".exe"
:paths:
  :test:
    - src/
    - "../src/"
    - testdata/
    - tests/
:defines:
  :test:
  - UNITY_INCLUDE_DOUBLE
  - UNITY_SUPPORT_TEST_CASES
  - UNITY_SUPPORT_64