From 74f7ddd78e52a1e9983373ea585a9a24c3d3b98a Mon Sep 17 00:00:00 2001 From: Sarat Vemulapalli Date: Tue, 24 Aug 2021 10:31:17 -0700 Subject: [PATCH] Adding support to run BWC tests for nightly and release builds Signed-off-by: Sarat Vemulapalli --- bwctest.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 bwctest.sh diff --git a/bwctest.sh b/bwctest.sh new file mode 100755 index 0000000000000..d10cd78eee1f8 --- /dev/null +++ b/bwctest.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +set -e + +function usage() { + echo "" + echo "This script is used to run Backwards Compatibility tests" + echo "--------------------------------------------------------------------------" + echo "Usage: $0 [args]" + echo "" + echo "Required arguments:" + echo "None" + echo "" + echo -e "-h\tPrint this message." + echo "--------------------------------------------------------------------------" +} + +while getopts ":h" arg; do + case $arg in + h) + usage + exit 1 + ;; + ?) + echo "Invalid option: -${OPTARG}" + exit 1 + ;; + esac +done + +./gradlew bwctest