case $(dpkg --print-architecture) in
    armel)
	echo "The test suite is flaky on armel, so mark tests skippable"
        jest src || exit 77
	;;
    ppc64el | s390x | riscv64)
	echo "The wasm compilation of wawoff2 does not run on this architecture"
	echo "perhaps due to a bug in emscripten, so skip tests"
	exit 77
	;;
    *)
	# The test suite should run correctly on the other currently
        # supported architectures
        jest src
        ;;
esac
