Skip to content

Commit 9ed3e3c

Browse files
committed
Modify the "result" target to actually display proof results.
"make result" is very useful for checking individual proofs. This commit amends this Makefile target to display the last 4 lines of logs/results.txt following by any lines that contain the string "FAILURE". Signed-off-by: Rod Chapman <rodchap@amazon.com>
1 parent e219d47 commit 9ed3e3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

proofs/cbmc/Makefile.common

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,9 @@ result:
953953
$(MAKE) -B _result
954954
@ echo Running 'litani build'
955955
$(LITANI) run-build
956+
tail -4 $(LOGDIR)/result.txt
957+
-grep FAILURE $(LOGDIR)/result.txt
958+
956959

957960
_property: $(LOGDIR)/property.xml
958961
property:

0 commit comments

Comments
 (0)