From 9b85fddfa9119d111e33f0db9812842e00910896 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 15 Jan 2015 11:26:46 +0100 Subject: [PATCH] Abort if the JS tests don't pass --- dist-build/emscripten.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index 962d3fe7..50088f77 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -47,6 +47,6 @@ echo 'sodium_utils2 and sodium_utils3 are expected to fail in Javascript.' mv -f "${file}.tmp" "$file" done ) -make $MAKE_FLAGS check +make $MAKE_FLAGS check || exit 1 echo 'Done.' touch -r "${PREFIX}/lib/libsodium.js" test/js.done