Skip to content

Commit

Permalink
samples unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Jun 8, 2021
1 parent 692fc4a commit 8c2aa48
Show file tree
Hide file tree
Showing 180 changed files with 103 additions and 376,490 deletions.
2 changes: 1 addition & 1 deletion conan/conanfile.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SvgrenConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
options = {"shared": [True, False], "fPIC": [True, False]}
default_options = {"shared": False, "fPIC": True}
requires = "utki/[>=0.0.0]", "svgdom/[>=0.0.0]", "agg/[>=0.0.0]", "libpng/[>=1.6.37]", "clargs/[>=0.0.0]"
requires = "utki/[>=0.0.0]", "svgdom/[>=0.0.0]", "agg/[>=0.0.0]", "libpng/[>=1.6.37]", "clargs/[>=0.0.0]", "tst/[>=0.0.0]"
generators = "make"

def config_options(self):
Expand Down
1 change: 1 addition & 0 deletions config/base/agg.mk
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
this_svgren_backend := agg
this_cxxflags += -D SVGREN_BACKEND=SVGREN_BACKEND_AGG
1 change: 1 addition & 0 deletions config/base/cairo.mk
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
this_svgren_backend := cairo
this_cxxflags += -D SVGREN_BACKEND=SVGREN_BACKEND_CAIRO
3 changes: 2 additions & 1 deletion debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Build-Depends: debhelper (>= 9), pkg-config, prorab, prorab-extra, myci,
libsvgdom-dev (>= 0.3.61),
libantigrain-dev (>= 2.8.3),
libr4-dev,
libclargs-dev
libclargs-dev,
libtst-dev
Build-Depends-Indep: doxygen
Standards-Version: 3.9.2

Expand Down
1 change: 1 addition & 0 deletions homebrew/libsvgren.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Libsvgren < Formula
depends_on "libantigrain" => :build
depends_on "libr4" => :build
depends_on "libclargs" => :build
depends_on "libtst" => :build
depends_on "libpng" => :build
depends_on "libsvgdom"
depends_on "libutki"
Expand Down
2 changes: 1 addition & 1 deletion msys2/PKGBUILD.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ groups=()

depends=("${pkgPrefix}utki" "${pkgPrefix}svgdom" "${pkgPrefix}agg")

makedepends=('myci' 'prorab' 'prorab-extra' 'doxygen' "${pkgPrefix}r4" "${pkgPrefix}clargs" "${pkgPrefix}libpng")
makedepends=('myci' 'prorab' 'prorab-extra' 'doxygen' "${pkgPrefix}r4" "${pkgPrefix}clargs" "${pkgPrefix}libpng" "${pkgPrefix}libtst")
checkdepends=('myci')
optdepends=()
provides=()
Expand Down
2 changes: 1 addition & 1 deletion tests/async/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $(eval $(prorab-build-app))
# add dependency on libsvgren
$(prorab_this_name): $(abspath $(d)../../src/out/$(c)/libsvgren$(dot_so))

this_test_cmd := $(prorab_this_name) $(shell ls $(d)../samples/testdata/*.svg)
this_test_cmd := $(prorab_this_name) $(shell ls $(d)../unit/samples_data/*.svg)
this_test_deps := $(prorab_this_name)
this_test_ld_path := ../../src/out/$(c) $(CONAN_LIB_DIRS)
$(eval $(prorab-test))
Expand Down
44 changes: 0 additions & 44 deletions tests/samples/makefile

This file was deleted.

6,852 changes: 0 additions & 6,852 deletions tests/samples/testdata/0.451.svg

This file was deleted.

258 changes: 0 additions & 258 deletions tests/samples/testdata/1.svg

This file was deleted.

1 change: 0 additions & 1 deletion tests/samples/testdata/3.072.svg

This file was deleted.

7 changes: 0 additions & 7 deletions tests/samples/testdata/3.svg

This file was deleted.

5 changes: 0 additions & 5 deletions tests/samples/testdata/3color.svg

This file was deleted.

Loading

0 comments on commit 8c2aa48

Please sign in to comment.