From c623b45298ba94991111b2e05d1c4c1dc4b011e1 Mon Sep 17 00:00:00 2001 From: Sam Blackshear Date: Fri, 19 Feb 2016 15:07:54 -0800 Subject: [PATCH] Adding test.sh to fix sync problem (undoing f3964a05f773116824dc4d89997ff9615052d186) --- scripts/test.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scripts/test.sh diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100644 index 000000000..1a53f4949 --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Copyright (c) 2013 - present Facebook, Inc. +# All rights reserved. +# +# This source code is licensed under the BSD style license found in the +# LICENSE file in the root directory of this source tree. An additional grant +# of patent rights can be found in the PATENTS file in the same directory. + +set -e +set -x + +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +INFER_DIR="$SCRIPT_DIR/.." + +XML= +if [ "$1" == "--xml" ]; then + XML="_xml" +fi + +make -C "$INFER_DIR" test$XML