Fix tests

This commit is contained in:
Gergely Polonkai 2015-11-23 16:46:09 +01:00
parent 92f3b7e957
commit da90330152
3 changed files with 4 additions and 2 deletions

3
.gitignore vendored
View File

@ -59,7 +59,8 @@ Makefile.in
/tests/*-test.trs
/swe-glib-lcov*
test-suite.log
/tests/gswe-timestamp-test.gc??
*.gcno
*.gcda
# Translation related files
/ABOUT-NLS

View File

@ -4,6 +4,7 @@ LDADD = $(top_builddir)/src/libswe-glib-2.0.la
DEFS = -DG_LOG_DOMAIN=\"SWE-GLib\"
AM_CPPFLAGS = $(GLIB_CFLAGS) $(GOBJECT_CFLAGS) $(LIBSWE_CFLAGS) -I$(top_srcdir)/src
AM_CFLAGS = -g
AM_LDFLAGS = $(GOBJECT_LIBS)
test_programs = gswe-timestamp-test
TESTS += $(test_programs)

View File

@ -249,7 +249,7 @@ test_timestamp_conv_gregjd(void)
gswe_assert_fuzzy_equals(
jdet,
td[1].jdet,
0.000001
0.0001
);
g_clear_object(&timestamp);