Fix build failure in sanitizer on GitLab-CI
Sanitizer tests were introduced in 617f45b for GitLab CI, but started failing on latest Fedora version with error: $ yum install -y /usr/lib64/libasan.so.6.0.0 /usr/lib64/libtsan.so.0.0.0 /usr/lib64/libubsan.so.1.0.0 Last metadata expiration check: 0:00:51 ago on Fri Dec 9 20:05:01 2022. No match for argument: /usr/lib64/libasan.so.6.0.0 No match for argument: /usr/lib64/libtsan.so.0.0.0 Error: Unable to find a match: /usr/lib64/libasan.so.6.0.0 /usr/lib64/libtsan.so.0.0.0 The reason for using specific library versions is unknown. Switch to simply using latest package versions, as is works and is likely to work best in the long run. Also, enclose "../rpmlist-$CI_JOB_NAME-$CI_COMMIT_REF_SLUG.log" in quotes to avoid `ambiguous redirect` error when $CI_JOB_NAME has spaces. Additionally use "needs" statements to allow tests to run immediately after dependent jobs passed instead of waiting for the full stage to complete. All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services
Showing
Please register or sign in to comment