NSS/BoGo Tests: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:


=== Running BoGo Tests ===
=== Running BoGo Tests ===
Assuming a copy (in $SOURCE_DIR) and build (in $BINDIR) of NSS are present.
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.
First get a copy of boringssl and checkout a specific version.
     git clone https://boringssl.googlesource.com/boringssl
     git clone https://boringssl.googlesource.com/boringssl
Line 9: Line 9:


Then you can run the BoGo tests.
Then you can run the BoGo tests.
     cd boringssl/ssl/test/runner
    export (DY)LD_LIBRARY_PATH=$DISTDIR/lib
     GOPATH="$PWD" go test -shim-path "$BINDIR"/nss_bogo_shim -loose-errors \
     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"
     -allow-unimplemented -shim-config "$SOURCE_DIR/external_tests/nss_bogo_shim/config.json"
71

edits