| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # Load common constants. This should be the first executable line. | 7 # Load common constants. This should be the first executable line. |
| 8 # The path to common.sh should be relative to your script's location. | 8 # The path to common.sh should be relative to your script's location. |
| 9 . "$(dirname "$0")/common.sh" | 9 . "$(dirname "$0")/common.sh" |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 eval set -- "${FLAGS_ARGV}" | 23 eval set -- "${FLAGS_ARGV}" |
| 24 | 24 |
| 25 if [ -z "$FLAGS_board" ]; then | 25 if [ -z "$FLAGS_board" ]; then |
| 26 echo Error: --board required | 26 echo Error: --board required |
| 27 exit 1 | 27 exit 1 |
| 28 fi | 28 fi |
| 29 | 29 |
| 30 # Die on error; print commands | 30 # Die on error; print commands |
| 31 set -e | 31 set -e |
| 32 | 32 |
| 33 TEST_DIRS="pam_google window_manager cryptohome" | 33 TEST_DIRS="crash pam_google window_manager cryptohome" |
| 34 | 34 |
| 35 sudo TEST_DIRS="${TEST_DIRS}" \ | 35 sudo TEST_DIRS="${TEST_DIRS}" \ |
| 36 emerge-${FLAGS_board} chromeos-base/chromeos-unittests | 36 emerge-${FLAGS_board} chromeos-base/chromeos-unittests |
| OLD | NEW |