Resulting test logs should be always attached to the task, regardless
of whether the test suite ran successfully or not.
- bash: |
meson test --print-errorlogs \
--wrap='valgrind --leak-check=full --track-origins=yes --error-exitcode=99'
+ displayName: 'Tests (Meson)'
+ workingDirectory: ${{ parameters.workdir }}
+ - bash: |
+ shopt -s nullglob
for file in "$(pwd)"/meson-logs/* ; do
echo "##vso[task.uploadfile]${file}"
done
- displayName: 'Tests (Meson)'
+ displayName: 'Save Results (Meson)'
workingDirectory: ${{ parameters.workdir }}
+ condition: always()