diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-08-04 11:00:10 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-08-04 15:18:47 +0200 |
commit | a552061ebb167386520a7aa8acef04409c6275a6 (patch) | |
tree | 225450fb2d53954c85f640384bbc21859992af26 /src/shared | |
parent | docs: add disabled PR template for code freeze (diff) | |
download | systemd-a552061ebb167386520a7aa8acef04409c6275a6.tar.xz systemd-a552061ebb167386520a7aa8acef04409c6275a6.zip |
test: skip the relevant test case if systemd-measure is not present
systemd-measure is not built without gnu-efi, which is the case, for
example, on ppc64le. Let's skip the relevant test case in this case
instead of failing.
```
The Meson build system
Version: 0.58.2
...
Host machine cpu family: ppc64
Host machine cpu: ppc64le
...
Message: Skipping systemd-measure.1 because HAVE_GNU_EFI is false
...
[ 115.711775] testsuite-70.sh[745]: + cat
[ 115.741996] testsuite-70.sh[832]: + /usr/lib/systemd/systemd-measure calculate --linux=/tmp/tpmdata1 --initrd=/tmp/tpmdata2
[ 115.754015] testsuite-70.sh[833]: + cmp - /tmp/result
[ 115.758004] testsuite-70.sh[832]: /usr/lib/systemd/tests/testdata/units/testsuite-70.sh: line 56: /usr/lib/systemd/systemd-measure: No such file or directory
[ 115.773851] testsuite-70.sh[833]: cmp: EOF on - which is empty
[ 115.983681] sh[835]: + systemctl poweroff --no-block
```
Diffstat (limited to 'src/shared')
0 files changed, 0 insertions, 0 deletions