Permalink
Browse files

Autotools: Use check_PROGRAMS for tests

  • Loading branch information...
1 parent a6ffeb3 commit 27fcd5630e268b368b225c41123530525b9705ba @sardemff7 sardemff7 committed with hyperair May 19, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 geanyprj/tests/Makefile.am
  2. +1 −1 geanyvc/tests/Makefile.am
@@ -2,7 +2,7 @@ if UNITTESTS
include $(top_srcdir)/build/vars.build.mk
INCLUDES = $(GEANY_CFLAGS) -I$(srcdir)/../src -DUNITTESTS
TESTS=unittests
-noinst_PROGRAMS=unittests
+check_PROGRAMS=unittests
unittests_SOURCES = unittests.c ../src/utils.c
unittests_LDADD = @GEANY_LIBS@ $(INTLLIBS) @CHECK_LIBS@
endif
@@ -3,7 +3,7 @@ if ENABLE_GEANYVC
include $(top_srcdir)/build/vars.build.mk
INCLUDES = $(GEANY_CFLAGS) -DUNITTESTS
TESTS=unittests
-noinst_PROGRAMS=unittests
+check_PROGRAMS=unittests
unittests_SOURCES = unittests.c ../src/utils.c
unittests_LDADD = @GEANY_LIBS@ $(INTLLIBS) @CHECK_LIBS@
endif

0 comments on commit 27fcd56

Please sign in to comment.