Fix tests
This commit is contained in:
parent
92f3b7e957
commit
da90330152
3
.gitignore
vendored
3
.gitignore
vendored
@ -59,7 +59,8 @@ Makefile.in
|
|||||||
/tests/*-test.trs
|
/tests/*-test.trs
|
||||||
/swe-glib-lcov*
|
/swe-glib-lcov*
|
||||||
test-suite.log
|
test-suite.log
|
||||||
/tests/gswe-timestamp-test.gc??
|
*.gcno
|
||||||
|
*.gcda
|
||||||
|
|
||||||
# Translation related files
|
# Translation related files
|
||||||
/ABOUT-NLS
|
/ABOUT-NLS
|
||||||
|
@ -4,6 +4,7 @@ LDADD = $(top_builddir)/src/libswe-glib-2.0.la
|
|||||||
DEFS = -DG_LOG_DOMAIN=\"SWE-GLib\"
|
DEFS = -DG_LOG_DOMAIN=\"SWE-GLib\"
|
||||||
AM_CPPFLAGS = $(GLIB_CFLAGS) $(GOBJECT_CFLAGS) $(LIBSWE_CFLAGS) -I$(top_srcdir)/src
|
AM_CPPFLAGS = $(GLIB_CFLAGS) $(GOBJECT_CFLAGS) $(LIBSWE_CFLAGS) -I$(top_srcdir)/src
|
||||||
AM_CFLAGS = -g
|
AM_CFLAGS = -g
|
||||||
|
AM_LDFLAGS = $(GOBJECT_LIBS)
|
||||||
|
|
||||||
test_programs = gswe-timestamp-test
|
test_programs = gswe-timestamp-test
|
||||||
TESTS += $(test_programs)
|
TESTS += $(test_programs)
|
||||||
|
@ -249,7 +249,7 @@ test_timestamp_conv_gregjd(void)
|
|||||||
gswe_assert_fuzzy_equals(
|
gswe_assert_fuzzy_equals(
|
||||||
jdet,
|
jdet,
|
||||||
td[1].jdet,
|
td[1].jdet,
|
||||||
0.000001
|
0.0001
|
||||||
);
|
);
|
||||||
|
|
||||||
g_clear_object(×tamp);
|
g_clear_object(×tamp);
|
||||||
|
Loading…
Reference in New Issue
Block a user