github.com/hyperledger/aries-framework-go@v0.3.2/scripts/check_bbs_interop.sh (about) 1 #!/bin/bash 2 # 3 # Copyright SecureKey Technologies Inc. All Rights Reserved. 4 # 5 # SPDX-License-Identifier: Apache-2.0 6 # 7 set -e 8 9 ROOT=`pwd` 10 11 echo "" 12 echo "Running BBS+ interoperability tests..." 13 cd $ROOT/test/bbs 14 command=$1 15 if [ -z "$command" ]; then 16 command=test 17 fi 18 19 npm install 20 21 # TODO (#3421): Update the BBS interop tests to support latest Go and Node versions. 22 23 # capture exit code if it fails 24 npm run test || code=$? 25 if [ -z ${code+x} ]; then 26 # set exit code because it did not fail 27 code=0 28 fi 29 echo "" 30 cd $ROOT 31 exit $code