NSS/BoGo Tests: Difference between revisions

From MozillaWiki
< NSS
Jump to navigation Jump to search
(how to run bogo tests for NSS)
 
No edit summary
Line 6: Line 6:
     git clone https://boringssl.googlesource.com/boringssl
     git clone https://boringssl.googlesource.com/boringssl
     cd boringssl
     cd boringssl
     git checkout -q e34bcc91c07c0bf65ecc53a814d51f5246007150
     git checkout e34bcc91c07c0bf65ecc53a814d51f5246007150


Then you can run the BoGo tests.
Then you can run the BoGo tests.

Revision as of 06:24, 29 September 2016

BoGo is the TLS test suite for boringssl that can be easily ported to other TLS libraries (BoGo Porting).

Running BoGo Tests

Assuming a copy (in $SOURCE_DIR) and build (in $BINDIR) of NSS are present. First get a copy of boringssl and checkout a specific version.

   git clone https://boringssl.googlesource.com/boringssl
   cd boringssl
   git checkout e34bcc91c07c0bf65ecc53a814d51f5246007150

Then you can run the BoGo tests.

   cd boringssl/ssl/test/runner
   GOPATH="$PWD" go test -shim-path "$BINDIR"/nss_bogo_shim -loose-errors \
   -allow-unimplemented -shim-config "$SOURCE_DIR/external_tests/nss_bogo_shim/config.json"