Files
Thai Duong 16b1d26f28 Fixing tests that depend on JSON test vectors.
Also fixing doc links in open source (see #48).

PiperOrigin-RevId: 191699981
GitOrigin-RevId: e5a0caaf2d794dce378d1c4efefe36a36d2048f7
2018-04-05 02:35:23 -04:00

20 lines
426 B
Bash

#!/bin/bash
# Fail on any error.
set -e
# Display commands to stderr.
set -x
# Change to repo root
cd git*/wycheproof
# Building should work.
bazel build ... || exit 1
# Run all tests to generate logs.
# We don't care about the test results, thus always return successfully.
bazel query "kind(test, :all)" | grep AllTests | grep -v Local | xargs bazel \
--host_javabase="$JAVA_HOME" test --test_output=all || exit 0