diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-13 17:57:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-13 17:57:19 +0000 |
commit | 440b2f2a8fe3b1328d2166a83ab56a12bedc624c (patch) | |
tree | 02326974419db3aefc05d556d6e218ae8a92e480 /Build/source/texk/dvisvgm/dvisvgm-src/tests/Makefile.am | |
parent | 8be6eac70738a24fd3b7609bf9447b84a4237025 (diff) |
import original dvisvgm-2.1.2
git-svn-id: svn://tug.org/texlive/trunk@43208 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/tests/Makefile.am')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-src/tests/Makefile.am | 219 |
1 files changed, 149 insertions, 70 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/tests/Makefile.am b/Build/source/texk/dvisvgm/dvisvgm-src/tests/Makefile.am index 2440d1eef10..2f436587130 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/tests/Makefile.am +++ b/Build/source/texk/dvisvgm/dvisvgm-src/tests/Makefile.am @@ -5,6 +5,21 @@ SUBDIRS = data +check_LTLIBRARIES = libgtest.la +libgtest_la_SOURCES = gtest/src/gtest-all.cc gtest/src/gtest_main.cc +libgtest_la_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include -I$(top_srcdir)/tests/gtest +libgtest_la_LDFLAGS = -pthread +EXTRA_DIST = gtest/LICENSE \ + gtest/include \ + gtest/src/gtest.cc \ + gtest/src/gtest-death-test.cc \ + gtest/src/gtest-filepath.cc \ + gtest/src/gtest-internal-inl.h \ + gtest/src/gtest-port.cc \ + gtest/src/gtest-printers.cc \ + gtest/src/gtest-test-part.cc \ + gtest/src/gtest-typed-test.cc + AM_CXXFLAGS = -I$(top_srcdir)/src -Wall -DSRCDIR='"$(srcdir)"' $(CODE_COVERAGE_CFLAGS) TESTS = hashcheck @@ -12,265 +27,329 @@ check_PROGRAMS = hashcheck nodist_hashcheck_SOURCES = hashcheck.cpp hashcheck_LDADD = ../libs/xxHash/libxxhash.a hashcheck_CPPFLAGS = -I$(top_srcdir)/libs/xxHash + hashcheck.cpp: genhashcheck.py $(top_srcdir)/src/AGLTable.hpp $(top_srcdir)/libs/xxHash/xxhash.h python $^ >$@ TESTS += BezierTest check_PROGRAMS += BezierTest BezierTest_SOURCES = BezierTest.cpp -BezierTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +BezierTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +BezierTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += BitmapTest check_PROGRAMS += BitmapTest BitmapTest_SOURCES = BitmapTest.cpp -BitmapTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +BitmapTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +BitmapTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += BoundingBoxTest check_PROGRAMS += BoundingBoxTest BoundingBoxTest_SOURCES = BoundingBoxTest.cpp -BoundingBoxTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) - -TESTS += CalculatorTest -check_PROGRAMS += CalculatorTest -CalculatorTest_SOURCES = CalculatorTest.cpp -CalculatorTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +BoundingBoxTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +BoundingBoxTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += CMapManagerTest check_PROGRAMS += CMapManagerTest CMapManagerTest_SOURCES = CMapManagerTest.cpp -CMapManagerTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +CMapManagerTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +CMapManagerTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += CMapReaderTest check_PROGRAMS += CMapReaderTest CMapReaderTest_SOURCES = CMapReaderTest.cpp -CMapReaderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +CMapReaderTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +CMapReaderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += CMapTest check_PROGRAMS += CMapTest CMapTest_SOURCES = CMapTest.cpp -CMapTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +CMapTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +CMapTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) + +TESTS += CRC32Test +check_PROGRAMS += CRC32Test +CRC32Test_SOURCES = CRC32Test.cpp +CRC32Test_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +CRC32Test_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) + +TESTS += CalculatorTest +check_PROGRAMS += CalculatorTest +CalculatorTest_SOURCES = CalculatorTest.cpp +CalculatorTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +CalculatorTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += ColorSpecialTest check_PROGRAMS += ColorSpecialTest ColorSpecialTest_SOURCES = ColorSpecialTest.cpp -ColorSpecialTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +ColorSpecialTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +ColorSpecialTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += ColorTest check_PROGRAMS += ColorTest ColorTest_SOURCES = ColorTest.cpp -ColorTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +ColorTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +ColorTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += CommandLineTest check_PROGRAMS += CommandLineTest CommandLineTest_SOURCES = CommandLineTest.cpp -CommandLineTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) - -TESTS += CRC32Test -check_PROGRAMS += CRC32Test -CRC32Test_SOURCES = CRC32Test.cpp -CRC32Test_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +CommandLineTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +CommandLineTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += DependencyGraphTest check_PROGRAMS += DependencyGraphTest DependencyGraphTest_SOURCES = DependencyGraphTest.cpp -DependencyGraphTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +DependencyGraphTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +DependencyGraphTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += DirectoryTest check_PROGRAMS += DirectoryTest DirectoryTest_SOURCES = DirectoryTest.cpp -DirectoryTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +DirectoryTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +DirectoryTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += DvisvgmSpecialTest check_PROGRAMS += DvisvgmSpecialTest DvisvgmSpecialTest_SOURCES = DvisvgmSpecialTest.cpp -DvisvgmSpecialTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +DvisvgmSpecialTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +DvisvgmSpecialTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += EmSpecialTest check_PROGRAMS += EmSpecialTest EmSpecialTest_SOURCES = EmSpecialTest.cpp -EmSpecialTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +EmSpecialTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +EmSpecialTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += FileFinderTest check_PROGRAMS += FileFinderTest FileFinderTest_SOURCES = FileFinderTest.cpp -FileFinderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +FileFinderTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +FileFinderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += FilePathTest check_PROGRAMS += FilePathTest FilePathTest_SOURCES = FilePathTest.cpp -FilePathTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +FilePathTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +FilePathTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += FileSystemTest check_PROGRAMS += FileSystemTest FileSystemTest_SOURCES = FileSystemTest.cpp -FileSystemTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +FileSystemTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +FileSystemTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) + +TESTS += FontCacheTest +check_PROGRAMS += FontCacheTest +FontCacheTest_SOURCES = FontCacheTest.cpp +FontCacheTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +FontCacheTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += FontManagerTest check_PROGRAMS += FontManagerTest FontManagerTest_SOURCES = FontManagerTest.cpp -FontManagerTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +FontManagerTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +FontManagerTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += FontMapTest check_PROGRAMS += FontMapTest FontMapTest_SOURCES = FontMapTest.cpp -FontMapTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +FontMapTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +FontMapTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += GFGlyphTracerTest check_PROGRAMS += GFGlyphTracerTest GFGlyphTracerTest_SOURCES = GFGlyphTracerTest.cpp -GFGlyphTracerTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +GFGlyphTracerTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +GFGlyphTracerTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += GFReaderTest check_PROGRAMS += GFReaderTest GFReaderTest_SOURCES = GFReaderTest.cpp -GFReaderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +GFReaderTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +GFReaderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += GhostscriptTest check_PROGRAMS += GhostscriptTest GhostscriptTest_SOURCES = GhostscriptTest.cpp -GhostscriptTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +GhostscriptTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +GhostscriptTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += GraphicsPathTest check_PROGRAMS += GraphicsPathTest GraphicsPathTest_SOURCES = GraphicsPathTest.cpp -GraphicsPathTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +GraphicsPathTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +GraphicsPathTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += JFMReaderTest check_PROGRAMS += JFMReaderTest JFMReaderTest_SOURCES = JFMReaderTest.cpp -JFMReaderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +JFMReaderTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +JFMReaderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += LengthTest check_PROGRAMS += LengthTest LengthTest_SOURCES = LengthTest.cpp -LengthTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +LengthTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +LengthTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += MapLineTest check_PROGRAMS += MapLineTest MapLineTest_SOURCES = MapLineTest.cpp -MapLineTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +MapLineTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +MapLineTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += MatrixTest check_PROGRAMS += MatrixTest MatrixTest_SOURCES = MatrixTest.cpp -MatrixTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +MatrixTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +MatrixTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += MessageExceptionTest check_PROGRAMS += MessageExceptionTest MessageExceptionTest_SOURCES = MessageExceptionTest.cpp -MessageExceptionTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +MessageExceptionTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +MessageExceptionTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) + +TESTS += PSInterpreterTest +check_PROGRAMS += PSInterpreterTest +PSInterpreterTest_SOURCES = PSInterpreterTest.cpp +PSInterpreterTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +PSInterpreterTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += PageRagesTest check_PROGRAMS += PageRagesTest PageRagesTest_SOURCES = PageRagesTest.cpp -PageRagesTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +PageRagesTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +PageRagesTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += PageSizeTest check_PROGRAMS += PageSizeTest PageSizeTest_SOURCES = PageSizeTest.cpp -PageSizeTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +PageSizeTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +PageSizeTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += PairTest check_PROGRAMS += PairTest PairTest_SOURCES = PairTest.cpp -PairTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +PairTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +PairTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) -TESTS += PSInterpreterTest -check_PROGRAMS += PSInterpreterTest -PSInterpreterTest_SOURCES = PSInterpreterTest.cpp -PSInterpreterTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +TESTS += PapersizeSpecialTest +check_PROGRAMS += PapersizeSpecialTest +PapersizeSpecialTest_SOURCES = PapersizeSpecialTest.cpp +PapersizeSpecialTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +PapersizeSpecialTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += RangeMapTest check_PROGRAMS += RangeMapTest RangeMapTest_SOURCES = RangeMapTest.cpp -RangeMapTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +RangeMapTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +RangeMapTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) + +TESTS += SVGOutputTest +check_PROGRAMS += SVGOutputTest +SVGOutputTest_SOURCES = SVGOutputTest.cpp +SVGOutputTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +SVGOutputTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += ShadingPatchTest check_PROGRAMS += ShadingPatchTest ShadingPatchTest_SOURCES = ShadingPatchTest.cpp -ShadingPatchTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +ShadingPatchTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +ShadingPatchTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += SplittedCharInputBufferTest check_PROGRAMS += SplittedCharInputBufferTest SplittedCharInputBufferTest_SOURCES = SplittedCharInputBufferTest.cpp -SplittedCharInputBufferTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +SplittedCharInputBufferTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +SplittedCharInputBufferTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += StreamInputBufferTest check_PROGRAMS += StreamInputBufferTest StreamInputBufferTest_SOURCES = StreamInputBufferTest.cpp -StreamInputBufferTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +StreamInputBufferTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +StreamInputBufferTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += StreamReaderTest check_PROGRAMS += StreamReaderTest StreamReaderTest_SOURCES = StreamReaderTest.cpp -StreamReaderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +StreamReaderTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +StreamReaderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += StreamWriterTest check_PROGRAMS += StreamWriterTest StreamWriterTest_SOURCES = StreamWriterTest.cpp -StreamWriterTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +StreamWriterTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +StreamWriterTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += SubfontTest check_PROGRAMS += SubfontTest SubfontTest_SOURCES = SubfontTest.cpp -SubfontTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +SubfontTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +SubfontTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) -TESTS += SVGOutputTest -check_PROGRAMS += SVGOutputTest -SVGOutputTest_SOURCES = SVGOutputTest.cpp -SVGOutputTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +TESTS += TFMReaderTest +check_PROGRAMS += TFMReaderTest +TFMReaderTest_SOURCES = TFMReaderTest.cpp +TFMReaderTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +TFMReaderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += TensorProductPatchTest check_PROGRAMS += TensorProductPatchTest TensorProductPatchTest_SOURCES = TensorProductPatchTest.cpp -TensorProductPatchTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) - -TESTS += TFMReaderTest -check_PROGRAMS += TFMReaderTest -TFMReaderTest_SOURCES = TFMReaderTest.cpp -TFMReaderTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +TensorProductPatchTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +TensorProductPatchTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += ToUnicodeMapTest check_PROGRAMS += ToUnicodeMapTest ToUnicodeMapTest_SOURCES = ToUnicodeMapTest.cpp -ToUnicodeMapTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +ToUnicodeMapTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +ToUnicodeMapTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += TriangularPatchTest check_PROGRAMS += TriangularPatchTest TriangularPatchTest_SOURCES = TriangularPatchTest.cpp -TriangularPatchTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +TriangularPatchTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +TriangularPatchTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += UnicodeTest check_PROGRAMS += UnicodeTest UnicodeTest_SOURCES = UnicodeTest.cpp -UnicodeTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +UnicodeTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +UnicodeTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += UtilityTest check_PROGRAMS += UtilityTest UtilityTest_SOURCES = UtilityTest.cpp -UtilityTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +UtilityTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +UtilityTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += VectorIteratorTest check_PROGRAMS += VectorIteratorTest VectorIteratorTest_SOURCES = VectorIteratorTest.cpp -VectorIteratorTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +VectorIteratorTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +VectorIteratorTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += VectorStreamTest check_PROGRAMS += VectorStreamTest VectorStreamTest_SOURCES = VectorStreamTest.cpp -VectorStreamTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +VectorStreamTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +VectorStreamTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += XMLNodeTest check_PROGRAMS += XMLNodeTest XMLNodeTest_SOURCES = XMLNodeTest.cpp -XMLNodeTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +XMLNodeTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +XMLNodeTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) TESTS += XMLStringTest check_PROGRAMS += XMLStringTest XMLStringTest_SOURCES = XMLStringTest.cpp -XMLStringTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a -L../potracelib -lpotrace -lfreetype -lgtest -lgtest_main -lpthread $(CODE_COVERAGE_LDFLAGS) +XMLStringTest_CPPFLAGS = -I$(top_srcdir)/tests/gtest/include +XMLStringTest_LDADD = ../src/libdvisvgm.a ../libs/xxHash/libxxhash.a libgtest.la -lpotrace -lfreetype $(CODE_COVERAGE_LDFLAGS) -EXTRA_DIST = check-conv genhashcheck.py normalize.xsl +EXTRA_DIST += check-conv genhashcheck.py normalize.xsl TESTS += check-conv @CODE_COVERAGE_RULES@ |