Compare commits
No commits in common. "3c60fb077fa7eab88018685cea9090212db82273" and "0aeb407cb4561704e361936ac6d5afc92cd50fd8" have entirely different histories.
3c60fb077f
...
0aeb407cb4
|
@ -7,8 +7,7 @@ sanitize_address_undefined = custom_target(
|
||||||
project_source_root,
|
project_source_root,
|
||||||
'@OUTPUT@',
|
'@OUTPUT@',
|
||||||
'fuzzers',
|
'fuzzers',
|
||||||
'-Db_lundef=false -Db_sanitize=address,undefined ' +
|
'-Db_lundef=false -Db_sanitize=address,undefined',
|
||||||
'--optimization=@0@'.format(get_option('optimization')),
|
|
||||||
' '.join(cc.cmd_array()),
|
' '.join(cc.cmd_array()),
|
||||||
cxx_cmd])
|
cxx_cmd])
|
||||||
|
|
||||||
|
|
|
@ -65,10 +65,7 @@ for phase in "${PHASES[@]}"; do
|
||||||
RUN_ASAN|RUN_CLANG_ASAN)
|
RUN_ASAN|RUN_CLANG_ASAN)
|
||||||
if [[ "$phase" = "RUN_CLANG_ASAN" ]]; then
|
if [[ "$phase" = "RUN_CLANG_ASAN" ]]; then
|
||||||
ENV_VARS="-e CC=clang -e CXX=clang++"
|
ENV_VARS="-e CC=clang -e CXX=clang++"
|
||||||
# Build fuzzer regression tests only with clang (for now),
|
MESON_ARGS="-Db_lundef=false" # See https://github.com/mesonbuild/meson/issues/764
|
||||||
# see: https://github.com/systemd/systemd/pull/15886#issuecomment-632689604
|
|
||||||
# -Db_lundef=false: See https://github.com/mesonbuild/meson/issues/764
|
|
||||||
MESON_ARGS="-Db_lundef=false -Dfuzz-tests=true --optimization=1"
|
|
||||||
fi
|
fi
|
||||||
docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Db_sanitize=address,undefined -Dsplit-usr=true $MESON_ARGS build
|
docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Db_sanitize=address,undefined -Dsplit-usr=true $MESON_ARGS build
|
||||||
$DOCKER_EXEC ninja -v -C build
|
$DOCKER_EXEC ninja -v -C build
|
||||||
|
|
Loading…
Reference in New Issue