Skip to content

Commit

Permalink
make test: print error on failure
Browse files Browse the repository at this point in the history
This simplifies debugging tests.
  • Loading branch information
Al2Klimov authored Nov 23, 2023
1 parent 3ec7d95 commit 9504138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

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 rm /icinga2-bin/etc/icinga2/features-enabled/mainlog.conf

Expand Down

0 comments on commit 9504138

Please sign in to comment.