mirror of
https://github.com/systemd/systemd.git
synced 2024-12-12 03:33:44 +08:00
travis: also compile and run unsafe unit tests
This commit is contained in:
parent
d08819ed74
commit
7970a52509
@ -45,13 +45,13 @@ for phase in "${PHASES[@]}"; do
|
||||
RUN)
|
||||
info "Run phase"
|
||||
# Build systemd
|
||||
$DOCKER_EXEC meson --werror -Dslow-tests=true build
|
||||
$DOCKER_EXEC meson --werror -Dtests=unsafe -Dslow-tests=true build
|
||||
$DOCKER_EXEC ninja -v -C build
|
||||
$DOCKER_EXEC ninja -C build test
|
||||
;;
|
||||
RUN_ASAN)
|
||||
$DOCKER_EXEC git clean -dxff
|
||||
$DOCKER_EXEC meson --werror -Db_sanitize=address,undefined build
|
||||
$DOCKER_EXEC meson --werror -Dtests=unsafe -Db_sanitize=address,undefined build
|
||||
$DOCKER_EXEC ninja -v -C build
|
||||
|
||||
# Never remove halt_on_error from UBSAN_OPTIONS. See https://github.com/systemd/systemd/commit/2614d83aa06592aedb.
|
||||
|
Loading…
Reference in New Issue
Block a user