Skip to content

Commit

Permalink
cirrus-ci: improve error output try libtpms
Browse files Browse the repository at this point in the history
Signed-off-by: Juergen Repp <juergen_repp@web.de>
  • Loading branch information
JuergenReppSIT committed Oct 20, 2024
1 parent e2bf576 commit 26399e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ task:
- pkg install -y bash gmake coreutils libtool pkgconf autoconf autoconf-archive
- pkg install -y automake openssl json-c cmocka uthash wget curl git util-linux
- pkg install -y libftdi1
- pkg install -y swtpm
- pkg install -y libtpms
- git clone --depth 1 -b $libusb_version https://github.com/libusb/libusb
- cd libusb && ./bootstrap.sh && ./configure && gmake -j install
- cd - && rm -fr libusb
Expand All @@ -23,5 +23,5 @@ task:
# Due to a race condition that only occurs in the cirrus ci, "make distcheck" has been replaced by "make check".
#
./bootstrap &&
./configure --enable-self-generated-certificate --enable-unit=yes --enable-integration=yes --with-crypto=ossl --disable-doxygen-doc --enable-tcti-swtpm=yes --enable-tcti-libtpms=no --enable-tcti-mssim=no --disable-dependency-tracking &&
gmake -j check || { cat /tmp/cirrus-ci-build/tpm2-tss-*/_build/sub/test-suite.log; exit 1; }
./configure --enable-self-generated-certificate --enable-unit=yes --enable-integration=yes --with-crypto=ossl --disable-doxygen-doc --enable-tcti-swtpm=no --enable-tcti-libtpms=yes --enable-tcti-mssim=no --disable-dependency-tracking &&
gmake -j check || { cat test/integration/esys-create-primary-hmac.log; cat test-suite.log; exit 1; }

0 comments on commit 26399e5

Please sign in to comment.