Skip sodium_utils{2,3} tests when the target is Javascript

This commit is contained in:
Frank Denis 2015-01-15 11:12:58 +01:00
parent cd67cb17e5
commit f20ecbed94
2 changed files with 7 additions and 2 deletions

View File

@ -432,6 +432,7 @@ AS_IF([test "x$EMSCRIPTEN" != "x"],[
TEST_LDFLAGS='--pre-js pre.js.inc'
])
AC_SUBST(TEST_LDFLAGS)
AM_CONDITIONAL([EMSCRIPTEN], [test "x$EMSCRIPTEN" != "x"])
dnl Libtool.

View File

@ -179,8 +179,6 @@ TESTS_TARGETS = \
sign \
sodium_core \
sodium_utils \
sodium_utils2 \
sodium_utils3 \
sodium_version \
stream \
stream2 \
@ -188,6 +186,12 @@ TESTS_TARGETS = \
stream4 \
verify1
if !EMSCRIPTEN
TESTS_TARGETS += \
sodium_utils2 \
sodium_utils3
endif
check_PROGRAMS = $(TESTS_TARGETS)
TESTS = $(TESTS_TARGETS)