Merge pull request #113 from Icinga/Al2Klimov-patch-2

make test: print error on failure
This commit is contained in:
Alexander Aleksandrovič Klimov 2023-12-07 10:29:14 +01:00 committed by GitHub
commit b05831b256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,7 @@ RUN PATH="/usr/lib/ccache:$PATH" cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTA
-DICINGA2_SYSCONFIGFILE=/etc/sysconfig/icinga2 -DICINGA2_WITH_{COMPAT,LIVESTATUS}=OFF /icinga2-src -DICINGA2_SYSCONFIGFILE=/etc/sysconfig/icinga2 -DICINGA2_WITH_{COMPAT,LIVESTATUS}=OFF /icinga2-src
RUN --mount=type=cache,target=/root/.ccache make RUN --mount=type=cache,target=/root/.ccache make
RUN make test RUN CTEST_OUTPUT_ON_FAILURE=1 make test
RUN make install DESTDIR=/icinga2-bin RUN make install DESTDIR=/icinga2-bin
RUN rm /icinga2-bin/etc/icinga2/features-enabled/mainlog.conf RUN rm /icinga2-bin/etc/icinga2/features-enabled/mainlog.conf