Skip to content

Commit

Permalink
tests: build: disable more werrors
Browse files Browse the repository at this point in the history
There are some subsystems with their own WERRORs which is dumb.

Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Jun 15, 2024
1 parent 57a1f10 commit a314bac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/patch/build_32bit/build_32bit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ rc=0
prep_config() {
make CC="$cc" O=$output_dir ARCH=i386 allmodconfig
./scripts/config --file $output_dir/.config -d werror
./scripts/config --file $output_dir/.config -d drm_werror
./scripts/config --file $output_dir/.config -d kvm_werror
}

clean_up_output() {
Expand Down
2 changes: 2 additions & 0 deletions tests/patch/build_allmodconfig_warn/build_allmodconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ rc=0
prep_config() {
make CC="$cc" O=$output_dir allmodconfig
./scripts/config --file $output_dir/.config -d werror
./scripts/config --file $output_dir/.config -d drm_werror
./scripts/config --file $output_dir/.config -d kvm_werror
}

clean_up_output() {
Expand Down
2 changes: 2 additions & 0 deletions tests/patch/build_clang/build_clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ rc=0
prep_config() {
make LLVM=1 O=$output_dir allmodconfig
./scripts/config --file $output_dir/.config -d werror
./scripts/config --file $output_dir/.config -d drm_werror
./scripts/config --file $output_dir/.config -d kvm_werror
}

echo "Using $build_flags redirect to $tmpfile_o and $tmpfile_n"
Expand Down

0 comments on commit a314bac

Please sign in to comment.