OLD | NEW |
1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 all: test_scripts | 5 all: test_scripts |
6 | 6 |
7 test_scripts: | 7 test_scripts: |
8 @echo "Preparing test scripts." | 8 @echo "Preparing test scripts." |
9 | 9 |
10 install: | 10 install: |
11 mkdir -p "${DESTDIR}/usr/bin" | 11 mkdir -p "${DESTDIR}/usr/bin" |
12 mkdir -p "${DESTDIR}/usr/lib/crostestutils" | 12 mkdir -p "${DESTDIR}/usr/lib/crostestutils" |
13 mkdir -p "${DESTDIR}/usr/share/crostestutils" | 13 mkdir -p "${DESTDIR}/usr/share/crostestutils" |
14 install -m 0644 lib/constants.py "${DESTDIR}/usr/lib/crostestutils" | 14 install -m 0644 lib/constants.py "${DESTDIR}/usr/lib/crostestutils" |
15 install -m 0755 cros_run_unit_tests "${DESTDIR}/usr/bin" | 15 install -m 0755 cros_run_unit_tests "${DESTDIR}/usr/bin" |
16 install -m 0755 cros_run_vm_test ${DESTDIR}/usr/bin | |
17 install -m 0755 run_remote_tests.sh ${DESTDIR}/usr/bin | 16 install -m 0755 run_remote_tests.sh ${DESTDIR}/usr/bin |
18 install -m 0644 unit_test_black_list.txt \ | 17 install -m 0644 unit_test_black_list.txt \ |
19 "${DESTDIR}/usr/share/crostestutils" | 18 "${DESTDIR}/usr/share/crostestutils" |
20 install -m 0755 utils_py/cros_run_parallel_vm_tests.py \ | |
21 "${DESTDIR}/usr/lib/crostestutils" | |
22 install -m 0755 utils_py/generate_test_report.py \ | 19 install -m 0755 utils_py/generate_test_report.py \ |
23 "${DESTDIR}/usr/lib/crostestutils" | 20 "${DESTDIR}/usr/lib/crostestutils" |
24 | 21 |
25 # Make symlinks for those python files in lib. | 22 # Make symlinks for those python files in lib. |
26 ln -s "${DESTDIR}/usr/lib/crostestutils/cros_run_parallel_vm_tests.py" \ | |
27 "${DESTDIR}/usr/bin/cros_run_parallel_vm_tests" | |
28 ln -s "${DESTDIR}/usr/lib/crostestutils/generate_test_report.py" \ | 23 ln -s "${DESTDIR}/usr/lib/crostestutils/generate_test_report.py" \ |
29 "${DESTDIR}/usr/bin/generate_test_report" | 24 "${DESTDIR}/usr/bin/generate_test_report" |
OLD | NEW |