Files
wycheproof/kokoro/presubmit.sh
T
Thai Duong 31387e2cd5 Project import generated by Copybara.
PiperOrigin-RevId: 191113399
GitOrigin-RevId: cfebd59d1f086e907f468004c7d033199d116fad
2018-04-04 13:54:50 -07:00

21 lines
304 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.
bazel test ...
# We don't care about the test results, thus always return successfully.
exit 0