Skip to content

Commit

Permalink
Removed build strict test and enabled -Werror flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Jul 7, 2019
1 parent da11f0f commit ba68569
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 47 deletions.
14 changes: 0 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,6 @@ jobs:
path: /tmp/misra/misra_safety_output.txt


strict-compiler:
machine:
docker_layer_caching: true
steps:
- checkout
- run:
name: Build image
command: "docker build -t panda_strict_compiler -f tests/build_strict/Dockerfile ."
- run:
name: Build Panda with strict compiler rules
command: |
docker run panda_strict_compiler /bin/bash -c "cd /panda/tests/build_strict; ./test_build_strict.sh"
build:
machine:
docker_layer_caching: true
Expand Down Expand Up @@ -105,6 +92,5 @@ workflows:
jobs:
- safety
- misra-c2012
- strict-compiler
- build
- safety_replay
2 changes: 1 addition & 1 deletion board/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PROJ_NAME = panda
CFLAGS = -g -Wall
CFLAGS = -g -Wall -Wextra -Wstrict-prototypes -Werror

CFLAGS += -mlittle-endian -mthumb -mcpu=cortex-m4
CFLAGS += -mhard-float -DSTM32F4 -DSTM32F413xx -mfpu=fpv4-sp-d16 -fsingle-precision-constant
Expand Down
8 changes: 0 additions & 8 deletions board/Makefile.strict

This file was deleted.

9 changes: 0 additions & 9 deletions tests/build_strict/Dockerfile

This file was deleted.

15 changes: 0 additions & 15 deletions tests/build_strict/test_build_strict.sh

This file was deleted.

0 comments on commit ba68569

Please sign in to comment.