rustls/bogo/runme

20 lines
464 B
Plaintext
Raw Normal View History

#!/bin/sh
# This script fetches, builds, and runs the BoringSSL
# TLS test tool ('BoGo') against rustls.
set -xe
2016-08-23 21:10:00 +00:00
2017-06-04 16:18:48 +00:00
if [ ! -e ../target/debug/examples/bogo_shim ] ; then
cargo test --no-run --features dangerous_configuration
fi
if [ ! -e bogo/ ] ; then
./fetch-and-build
fi
2017-06-04 16:18:48 +00:00
( cd bogo && ./bogo.test -shim-path ../../target/debug/examples/bogo_shim \
-shim-config ../config.json \
2016-08-22 22:35:22 +00:00
-test.parallel 1 -num-workers 1 \
-pipe -allow-unimplemented )