NSS/BoGo Tests: Difference between revisions

From MozillaWiki
< NSS
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
     GOPATH="$PWD" go test -shim-path "$DISTDIR"/bin/nss_bogo_shim -loose-errors \
     GOPATH="$PWD" go test -shim-path "$DISTDIR"/bin/nss_bogo_shim -loose-errors \
     -allow-unimplemented -shim-config "$SOURCE_DIR/external_tests/nss_bogo_shim/config.json"
     -allow-unimplemented -shim-config "$SOURCE_DIR/external_tests/nss_bogo_shim/config.json"
[[Category:NSS]]

Revision as of 06:05, 30 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 $DISTDIR) 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.

   export (DY)LD_LIBRARY_PATH=$DISTDIR/lib
   cd ssl/test/runner
   GOPATH="$PWD" go test -shim-path "$DISTDIR"/bin/nss_bogo_shim -loose-errors \
   -allow-unimplemented -shim-config "$SOURCE_DIR/external_tests/nss_bogo_shim/config.json"