diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2023-12-12 21:27:08 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodrigo.arias@bsc.es> | 2023-12-21 01:05:58 +0100 |
commit | 1da1260af72b20126176e2b8f73f7b7fd5952ce1 (patch) | |
tree | 0fcdb276d30814ce4075f7cc205e357b2b7c1be5 /test/unit/Makefile.am | |
parent | 78ad5bfe9644d1217f9d9ad0bf2fcdc388551113 (diff) |
Split tests into unit and dw (graphical)
Graphical tests for the dw (Dillo Widget) are moved to test/dw, while
unit tests are placed into test/unit.
All tests are compiled with "make check" but only the tests that can run
without intervention and without a graphic display are executed.
Diffstat (limited to 'test/unit/Makefile.am')
-rw-r--r-- | test/unit/Makefile.am | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/test/unit/Makefile.am b/test/unit/Makefile.am new file mode 100644 index 00000000..41bc56df --- /dev/null +++ b/test/unit/Makefile.am @@ -0,0 +1,59 @@ +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + -DCUR_SRC_DIR="\"$(srcdir)\"" \ + -DCUR_WORKING_DIR='"@BASE_CUR_WORKING_DIR@/test/unit"' + +AM_CFLAGS = @LIBFLTK_CFLAGS@ +AM_CXXFLAGS = @LIBFLTK_CXXFLAGS@ + +LDADD = \ + $(top_builddir)/lout/liblout.a + +TESTS = \ + containers \ + identity \ + liang \ + notsosimplevector \ + shapes + +# Some test are broken, so only build them +check_PROGRAMS = $(TESTS) \ + cookies \ + trie \ + unicode_test + +containers_SOURCES = containers.cc +notsosimplevector_SOURCES = notsosimplevector.cc +hyphenation_LDADD = \ + $(top_builddir)/dw/libDw-widgets.a \ + $(top_builddir)/dw/libDw-fltk.a \ + $(top_builddir)/dw/libDw-core.a \ + $(top_builddir)/lout/liblout.a \ + @LIBFLTK_LIBS@ @LIBX11_LIBS@ +identity_SOURCES = identity.cc +cookies_SOURCES = cookies.c +cookies_LDADD = \ + $(top_builddir)/dpip/libDpip.a \ + $(top_builddir)/dlib/libDlib.a +shapes_SOURCES = shapes.cc +shapes_LDADD = \ + $(top_builddir)/dw/libDw-core.a \ + $(top_builddir)/lout/liblout.a +unicode_test_SOURCES = unicode_test.cc +unicode_test_LDADD = \ + $(top_builddir)/lout/liblout.a \ + @LIBFLTK_LIBS@ @LIBX11_LIBS@ +liang_SOURCES = liang.cc +liang_LDADD = \ + $(top_builddir)/dw/libDw-widgets.a \ + $(top_builddir)/dw/libDw-fltk.a \ + $(top_builddir)/dw/libDw-core.a \ + $(top_builddir)/lout/liblout.a \ + @LIBFLTK_LIBS@ @LIBX11_LIBS@ +trie_SOURCES = trie.cc +trie_LDADD = \ + $(top_builddir)/dw/libDw-widgets.a \ + $(top_builddir)/dw/libDw-fltk.a \ + $(top_builddir)/dw/libDw-core.a \ + $(top_builddir)/lout/liblout.a \ + @LIBFLTK_LIBS@ @LIBX11_LIBS@ |