diff --git a/paddle/fluid/compiler/scripts/piano_ci_test.sh b/paddle/fluid/compiler/scripts/piano_ci_test.sh index a1a533d10f3d3..b8f09cd3ec0cb 100644 --- a/paddle/fluid/compiler/scripts/piano_ci_test.sh +++ b/paddle/fluid/compiler/scripts/piano_ci_test.sh @@ -14,18 +14,13 @@ # See the License for the specific language governing permissions and # limitations under the License. -set -ex +set -e +x if [ -z ${BRANCH} ]; then BRANCH="paddle_compiler" fi function init() { - RED='\033[0;31m' - BLUE='\033[0;34m' - BOLD='\033[1m' - NONE='\033[0m' - PADDLE_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}")/../../../../" && pwd )" export PADDLE_ROOT if [ -z "${SCRIPT_NAME}" ]; then