Skip to content
Permalink
Browse files
Add missing dependency to check in Makefile
The main makefile check target does not depend on tests. When running
make with the -j option it could happen that the tests are build twice
and concurrently, which causes errors.
  • Loading branch information
Andres AG authored and simonbutcher committed Sep 16, 2016
1 parent f911319 commit c49b808ae490f03d665df5faae457f613aa31aaf
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
@@ -77,7 +77,7 @@ ifndef WINDOWS
find . \( -name \*.gcno -o -name \*.gcda -o -name \*.info \) -exec rm {} +
endif

check: lib
check: lib tests
$(MAKE) -C tests check

test: check

0 comments on commit c49b808

Please sign in to comment.