Skip to content

Commit 995d76a

Browse files
author
Christian Hergert
committed
tests: run libbson tests on distcheck
1 parent 023e965 commit 995d76a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/Makefile.am

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,13 @@ tests/trust_dir/done: $(top_srcdir)/tests/make_ca.pl $(top_srcdir)/tests/trust_d
108108
$< $(top_srcdir)/tests/trust_dir $(top_srcdir)/tests/trust_dir.cnf
109109
touch $(top_srcdir)/tests/trust_dir/done
110110

111+
if WITH_LIBBSON
112+
libbson_check:
113+
@ $(MAKE) -C src/libbson check
114+
check: libbson_check test
115+
else
111116
check: test
117+
endif
112118

113119
TEST_ARGS = -f -p
114120

@@ -121,7 +127,7 @@ endif
121127
./$$TEST_PROG $(TEST_ARGS) -F test.log; \
122128
done
123129
if OS_LINUX
124-
@ $(top_srcdir)/tests/abicheck.sh "$(top_srcdir)/src/libmongoc.symbols"
130+
@ $(srcdir)/tests/abicheck.sh "$(srcdir)/src/libmongoc.symbols"
125131
endif
126132

127133
DISTCLEANFILES += test.log

0 commit comments

Comments
 (0)