]> git.ipfire.org Git - thirdparty/systemd.git/commit
{build|unit}-test: show meson-log.txt when meson fails
authorEvgeny Vereshchagin <evvers@ya.ru>
Thu, 13 Jan 2022 07:01:17 +0000 (07:01 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 13 Jan 2022 11:27:25 +0000 (20:27 +0900)
commit4e1ab496ae58e21b233ed7cd7fea3c8f495ef1e4
treed0df52813fdccd09376e1fac1f2dca2ecc924e1a
parentd2ceeb624c668a5b2a25b0210b0c7606fd12e081
{build|unit}-test: show meson-log.txt when meson fails

to make it easier to figure out why it fails.

For example in https://github.com/systemd/systemd/runs/4799774735?check_suite_focus=true
it failed with
```

meson.build:1003:8: ERROR: Command "/usr/bin/clang -print-targets" failed with status 1.

A full log can be found at /home/runner/work/systemd/systemd/build/meson-logs/meson-log.txt
Error: Process completed with exit code 1.
```
and it wasn't clear what exactly happened there.
.github/workflows/build_test.sh
.github/workflows/unit_tests.sh