Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2987)

Unified Diff: build_tests.sh

Issue 3041012: Remove support for old way of building and running unit tests (Closed) Base URL: ssh://git@chromiumos-git//crosutils.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | run_tests.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_tests.sh
diff --git a/build_tests.sh b/build_tests.sh
deleted file mode 100755
index 026676d6d8f593e29cdf3077dbd856660828d78b..0000000000000000000000000000000000000000
--- a/build_tests.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Load common constants. This should be the first executable line.
-# The path to common.sh should be relative to your script's location.
-. "$(dirname "$0")/common.sh"
-
-assert_not_root_user
-restart_in_chroot_if_needed $*
-get_default_board
-
-# Flags
-DEFINE_string build_root "$DEFAULT_BUILD_ROOT" \
- "Root of build output"
-DEFINE_string board "$DEFAULT_BOARD" \
- "Target board for which tests are to be built"
-
-# Parse command line
-FLAGS "$@" || exit 1
-eval set -- "${FLAGS_ARGV}"
-
-if [ -z "$FLAGS_board" ]; then
- echo Error: --board required
- exit 1
-fi
-
-# Die on error; print commands
-set -e
-
-TEST_DIRS="
- cryptohome
- metrics
- pam_google
- window_manager
- "
-
-sudo TEST_DIRS="${TEST_DIRS}" \
- emerge-${FLAGS_board} chromeos-base/chromeos-unittests
« no previous file with comments | « no previous file | run_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698