From 72825be9a899ea7b7322b2cdf0953d8a76ac531e Mon Sep 17 00:00:00 2001 From: GuangHui Liu Date: Thu, 9 Mar 2017 17:41:48 +0000 Subject: [PATCH] Revert "Create command to run adb tests and output results" This reverts commit f583429468ed3743b505971f0d5c1d9417eecb08. Change-Id: I7dc694e4b9d89f9530b83fae6343e8b5ff076859 --- adb/run_all_adb_tests.sh | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100755 adb/run_all_adb_tests.sh diff --git a/adb/run_all_adb_tests.sh b/adb/run_all_adb_tests.sh deleted file mode 100755 index 4609af2ac..000000000 --- a/adb/run_all_adb_tests.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -# Copyright 2017, The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Execute ADB test scripts and output zipped logs -# output to $1/adb_tests/ where $1 is DIST_DIR -# The command exits with code 0 only if all test scripts exit with code 0 and -# zip file successfuly created -# All test scripts are expected to exit with code 0, even if the test fails - -set -e -LOG_DIR="$1"/adb_tests/ -mkdir -p $LOG_DIR -# 2> because TextTestRunner() outputs to std.stderr -/usr/bin/python system/core/adb/test_adb.py 2> $LOG_DIR/test_adb_out.txt -/usr/bin/python system/core/adb/test_device.py 2> $LOG_DIR/test_device_out.txt -zip -j $LOG_DIR/test_all_adb_out.zip $LOG_DIR/*.txt -rm $LOG_DIR/*.txt