Skip to content

Commit 78380e8

Browse files
committed
warnings fix v2, propogate errors instead
1 parent 664e9d8 commit 78380e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/common.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,10 @@ function install_core()
315315
local hardware_core_path=$2
316316
local debug=$3
317317

318-
# Set our custom warnings for all builds
318+
# Set our custom settings for all builds
319319
printf "%s\n" \
320-
"compiler.c.extra_flags=-Wall -Wextra" \
321-
"compiler.cpp.extra_flags=-Wall -Wextra" \
320+
"compiler.c.extra_flags=-Werror" \
321+
"compiler.cpp.extra_flags=-Werror" \
322322
"recipe.hooks.prebuild.1.pattern=\"{runtime.tools.python3.path}/python3\" -I \"{runtime.tools.makecorever}\" --git-root \"{runtime.platform.path}\" --version \"{version}\" \"{runtime.platform.path}/cores/esp8266/core_version.h\"" \
323323
> "${core_path}"/platform.local.txt
324324
echo -e "\n----platform.local.txt----"

0 commit comments

Comments
 (0)