| OLD | NEW |
| 1 #!/bin/bash -e | 1 #!/bin/bash -e |
| 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 # Builds tests. | 7 # Builds tests. |
| 8 | 8 |
| 9 SCRIPT_DIR=`dirname "$0"` | 9 SCRIPT_DIR=`dirname "$0"` |
| 10 SCRIPT_DIR=`readlink -f "$SCRIPT_DIR"` | 10 SCRIPT_DIR=`readlink -f "$SCRIPT_DIR"` |
| 11 | 11 |
| 12 BUILD_ROOT=${BUILD_ROOT:-${SCRIPT_DIR}/../../../src/build} | 12 BUILD_ROOT=${BUILD_ROOT:-${SCRIPT_DIR}/../../../src/build} |
| 13 OUT_DIR=${BUILD_ROOT}/x86/tests | 13 OUT_DIR=${BUILD_ROOT}/x86/tests |
| 14 mkdir -p $OUT_DIR | 14 mkdir -p $OUT_DIR |
| 15 | 15 |
| 16 pushd $SCRIPT_DIR | 16 pushd $SCRIPT_DIR |
| 17 | 17 |
| 18 TESTS="key_bindings_test layout_manager_test no_clutter_test | 18 scons tests |
| 19 shadow_test util_test window_manager_test window_test" | 19 cp *_test $OUT_DIR |
| 20 | |
| 21 scons $TESTS | |
| 22 cp $TESTS $OUT_DIR | |
| 23 | 20 |
| 24 popd | 21 popd |
| OLD | NEW |