Skip to content

Commit

Permalink
Add a timeout for check-syntax.
Browse files Browse the repository at this point in the history
Compiling surface_vectorial.cpp is very slow.
  • Loading branch information
eyal0 committed Jun 29, 2020
1 parent dd1e7b5 commit 7b00cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ TESTS = $(check_PROGRAMS)
VALGRIND_FLAGS = --error-exitcode=127 --errors-for-leak-kinds=definite --show-leak-kinds=definite --leak-check=full

check-syntax:
$(COMPILE) -o /dev/null -S ${CHK_SOURCES} || true
timeout 10 $(COMPILE) -o /dev/null -S ${CHK_SOURCES} || true

0 comments on commit 7b00cfa

Please sign in to comment.