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

Side by Side Diff: autotest/firmware_VbootCrypto/src/Makefile

Issue 3143029: vboot_reference: add in the VbootCrypto tests into vboot_reference git repo (Closed) Base URL: http://src.chromium.org/git/vboot_reference.git
Patch Set: Updated Makefile some, and .py file to reflect parallel make changes into main autotest tree Created 10 years, 3 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 unified diff | Download patch
« no previous file with comments | « autotest/firmware_VbootCrypto/firmware_VbootCrypto.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 VBOOT_REFERENCE_DIR = ../../..
6 BUILD_TEST_DIR = vboot_reference
7 # Test Binaries.
8 TEST_BINS = \
9 common.sh \
10 firmware_image_tests \
11 firmware_rollback_tests \
12 firmware_splicing_tests \
13 firmware_verify_benchmark \
14 gen_test_cases.sh \
15 kernel_image_tests \
16 kernel_rollback_tests \
17 kernel_splicing_tests \
18 kernel_verify_benchmark \
19 rsa_padding_test \
20 rsa_verify_benchmark \
21 run_image_verification_tests.sh \
22 run_rsa_tests.sh \
23 sha_benchmark \
24 sha_tests \
25 testcases \
26 testkeys
27
28 # Utility Binaries.
29 UTIL_BINS = verify_data signature_digest_utility
30
31 all:
32 # Copy test sources into a temporary directory for building.
33 rm -rf $(BUILD_TEST_DIR)
34 # only copy stuff that's not us
35 sh -c \
36 'for dir in $(VBOOT_REFERENCE_DIR)/*; do \
37 [ "$${dir}" != "$(VBOOT_REFERENCE_DIR)/autotest" ] && cp -r $${d ir} .; \
38 done'
39 # Always build from scratch.
40 $(MAKE) -C $(BUILD_TEST_DIR) clean all
41 # Move test binaries for use by the tests.
42 mkdir -p tests
43 set -e; for i in $(TEST_BINS); do \
44 mv $(BUILD_TEST_DIR)/tests/$$i tests/ ;\
45 done
46 # Move utility binaries used by the tests.
47 mkdir -p utility
48 set -e; for i in $(UTIL_BINS); do \
49 mv $(BUILD_TEST_DIR)/utility/$$i utility/ ;\
50 done
51 # Delete sources.
52 rm -rf $(BUILD_TEST_DIR)
53
54 clean:
55 rm -rf utility/ tests/
OLDNEW
« no previous file with comments | « autotest/firmware_VbootCrypto/firmware_VbootCrypto.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698