Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Add unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquimrocha committed Apr 20, 2012
1 parent 227f4e2 commit 7e028f2
Show file tree
Hide file tree
Showing 14 changed files with 410 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile.am
@@ -1,6 +1,10 @@
SUBDIRS = \
skeltrack

if ENABLE_TESTS
SUBDIRS += tests
endif

if BUILD_GTK_DOC
SUBDIRS += doc
endif
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Expand Up @@ -141,6 +141,7 @@ AC_OUTPUT([
doc/Makefile
doc/reference/Makefile
examples/Makefile
tests/Makefile
])

echo ""
Expand Down
23 changes: 23 additions & 0 deletions tests/Makefile.am
@@ -0,0 +1,23 @@
MAINTAINERCLEANFILES = \
Makefile.in

tests_dir = `pwd`/

AM_CFLAGS = \
$(GLIB_CFLAGS) \
-I$(top_srcdir)/@PRJ_NAME@

if ENABLE_DEBUG
AM_CFLAGS += -Werror -g3 -O0 -ggdb
endif

LDADD = \
$(top_builddir)/@PRJ_NAME@/lib@PRJ_API_NAME@.la

noinst_PROGRAMS = \
test-skeleton

TESTS = \
test-skeleton

test_skeleton_SOURCES = test-skeleton.c
Binary file added tests/resources/depth-data-1028894671
Binary file not shown.
Binary file added tests/resources/depth-data-1038901490
Binary file not shown.
Binary file added tests/resources/depth-data-1045879925
Binary file not shown.
Binary file added tests/resources/depth-data-1051883281
Binary file not shown.
Binary file added tests/resources/depth-data-1058893191
Binary file not shown.
Binary file added tests/resources/depth-data-1064898470
Binary file not shown.
Binary file added tests/resources/depth-data-1070905432
Binary file not shown.
Binary file added tests/resources/depth-data-1078881076
Binary file not shown.
Binary file added tests/resources/depth-data-1166565565
Binary file not shown.
Binary file added tests/resources/depth-data-1234568668
Binary file not shown.

0 comments on commit 7e028f2

Please sign in to comment.