File tree Expand file tree Collapse file tree 5 files changed +261
-126
lines changed Expand file tree Collapse file tree 5 files changed +261
-126
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,13 @@ docdatadir = $(datadir)/$(PACKAGE)/doc
30
30
31
31
docdata_DATA = AUTHORS
32
32
33
+ if WITH_UNITTESTS
34
+ TESTS = tests
35
+ endif
36
+
37
+
33
38
if HAVE_QT4
34
- SUBDIRS = src doc tools i18n resources images tests
39
+ SUBDIRS = src doc tools i18n resources images $( TESTS )
35
40
endif
36
41
37
42
pkginclude_HEADERS = qgsconfig.h
Original file line number Diff line number Diff line change 52
52
--with-qtdir=$QTDIR \
53
53
--with-grass=/usr/lib/grass && make && make install
54
54
55
+ # --enable-unittests \
Original file line number Diff line number Diff line change 381
381
AM_CONDITIONAL([HAVE_EXPAT], [test "$have_expat_lib" = "yes"])
382
382
383
383
dnl ---------------------------------------------------------------------------
384
- dnl Community registration plugin
384
+ dnl unittests
385
385
dnl ---------------------------------------------------------------------------
386
- AC_ARG_ENABLE(community ,
387
- AC_HELP_STRING([--enable-community ],
388
- [Enable the community registration plugin (broken!) ]),
386
+ AC_ARG_ENABLE(unittests ,
387
+ AC_HELP_STRING([--enable-unittests ],
388
+ [Enable the compilation of unittests ]),
389
389
[ac_com=yes], [ac_com=no])
390
- AC_MSG_CHECKING([community registration plugin should be installed (broken) ])
390
+ AC_MSG_CHECKING([Whether to build unit tests ])
391
391
AC_MSG_RESULT([$ac_com])
392
- AM_CONDITIONAL([WITH_COMMUNITY ], [test "$ac_com" = "yes"])
392
+ AM_CONDITIONAL([WITH_UNITTESTS ], [test "$ac_com" = "yes"])
393
393
394
394
395
395
dnl ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments