diff --git a/ci/run-cargo-test.sh b/ci/run-cargo-test.sh index 5e258fc5d..cf1a32ae5 100755 --- a/ci/run-cargo-test.sh +++ b/ci/run-cargo-test.sh @@ -21,7 +21,7 @@ for crate in gstreamer* gstreamer-gl/{egl,wayland,x11}; do echo "Building and testing $crate with $FEATURES" cargo build $CARGO_FLAGS --locked --color=always --manifest-path "$crate/Cargo.toml" $FEATURES - RUST_BACKTRACE=1 G_DEBUG=fatal_warnings cargo nextest run --profile=ci $CARGO_FLAGS --color=always --manifest-path "$crate/Cargo.toml" $FEATURES + RUST_BACKTRACE=1 G_DEBUG=fatal_warnings cargo nextest run --profile=ci --no-tests=pass $CARGO_FLAGS --color=always --manifest-path "$crate/Cargo.toml" $FEATURES new_report_dir="$parent/junit_reports/$crate" mkdir -p "$new_report_dir" diff --git a/ci/run-sys-cargo-test.sh b/ci/run-sys-cargo-test.sh index 35d7ce387..15951cb22 100755 --- a/ci/run-sys-cargo-test.sh +++ b/ci/run-sys-cargo-test.sh @@ -44,7 +44,7 @@ for crate in gstreamer/sys \ gstreamer-video/sys \ gstreamer-webrtc/sys; do echo "Testing $crate with --all-features)" - RUST_BACKTRACE=1 cargo nextest run --profile ci $CARGO_FLAGS --locked --color=always --manifest-path $crate/Cargo.toml --all-features + RUST_BACKTRACE=1 cargo nextest run --profile ci --no-tests=pass $CARGO_FLAGS --locked --color=always --manifest-path $crate/Cargo.toml --all-features new_report_dir="$parent/junit_reports/$crate" mkdir -p "$new_report_dir" diff --git a/ci/run_windows_tests.ps1 b/ci/run_windows_tests.ps1 index 1a1455ac2..42342fca1 100644 --- a/ci/run_windows_tests.ps1 +++ b/ci/run_windows_tests.ps1 @@ -125,7 +125,7 @@ foreach($features in $features_matrix) { $env:G_DEBUG="fatal_warnings" $env:RUST_BACKTRACE="1" - cargo nextest run --profile=ci --no-fail-fast $cargo_opts --manifest-path $crate/Cargo.toml $env:LocalFeatures + cargo nextest run --profile=ci --no-fail-fast --no-tests=pass $cargo_opts --manifest-path $crate/Cargo.toml $env:LocalFeatures if (!$?) { Write-Host "Tests failed to for crate: $crate" Exit 1