GitLab CI: Produce less test output.
Pass `--output-on-failure` instead of `--verbose` to ctest so that we produce more relevant output.
This commit is contained in:
parent
0ea7692ec4
commit
f6872b0c3e
|
@ -345,7 +345,7 @@ Win64 Package:
|
||||||
aws s3 cp "$package" "$env:S3_DESTINATION_WIN64/"
|
aws s3 cp "$package" "$env:S3_DESTINATION_WIN64/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
- ctest -C RelWithDebInfo --parallel 3 --force-new-ctest-process --verbose
|
- ctest -C RelWithDebInfo --parallel 3 --force-new-ctest-process --output-on-failure
|
||||||
|
|
||||||
Win32 Package:
|
Win32 Package:
|
||||||
extends: .build-windows
|
extends: .build-windows
|
||||||
|
@ -392,7 +392,7 @@ Win32 Package:
|
||||||
aws s3 cp "$package" "$env:S3_DESTINATION_WIN32/"
|
aws s3 cp "$package" "$env:S3_DESTINATION_WIN32/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
- ctest -C RelWithDebInfo --parallel 3 --force-new-ctest-process --verbose
|
- ctest -C RelWithDebInfo --parallel 3 --force-new-ctest-process --output-on-failure
|
||||||
|
|
||||||
# Build the User's Guide and Developer's Guide
|
# Build the User's Guide and Developer's Guide
|
||||||
Documentation:
|
Documentation:
|
||||||
|
@ -483,7 +483,7 @@ GCC Warnings:
|
||||||
- ansi2html < ../gcc_report.txt > ../gcc_report.html
|
- ansi2html < ../gcc_report.txt > ../gcc_report.html
|
||||||
- ninja test-programs
|
- ninja test-programs
|
||||||
- chown -R user .
|
- chown -R user .
|
||||||
- su user -c "ctest --parallel $(getconf _NPROCESSORS_ONLN) --force-new-ctest-process --verbose"
|
- su user -c "ctest --parallel $(getconf _NPROCESSORS_ONLN) --force-new-ctest-process --output-on-failure"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- gcc_report.html
|
- gcc_report.html
|
||||||
|
@ -532,7 +532,7 @@ Windows Build:
|
||||||
- cmake -G "Visual Studio 16 2019" -A x64 -DENABLE_LTO=off ..
|
- cmake -G "Visual Studio 16 2019" -A x64 -DENABLE_LTO=off ..
|
||||||
- msbuild /verbosity:minimal /maxcpucount Wireshark.sln
|
- msbuild /verbosity:minimal /maxcpucount Wireshark.sln
|
||||||
- msbuild /verbosity:minimal /maxcpucount test-programs.vcxproj
|
- msbuild /verbosity:minimal /maxcpucount test-programs.vcxproj
|
||||||
- ctest -C RelWithDebInfo --parallel 3 --force-new-ctest-process --verbose
|
- ctest -C RelWithDebInfo --parallel 3 --force-new-ctest-process --output-on-failure
|
||||||
|
|
||||||
# Adapted from https://www.synopsys.com/blogs/software-security/integrating-coverity-scan-with-gitlab-ci/
|
# Adapted from https://www.synopsys.com/blogs/software-security/integrating-coverity-scan-with-gitlab-ci/
|
||||||
# and https://gitlab.gnome.org/GNOME/glib/-/blob/8f57a5b9/.gitlab-ci.yml#L481
|
# and https://gitlab.gnome.org/GNOME/glib/-/blob/8f57a5b9/.gitlab-ci.yml#L481
|
||||||
|
|
Loading…
Reference in New Issue