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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « autotest/firmware_VbootCrypto/firmware_VbootCrypto.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: autotest/firmware_VbootCrypto/src/Makefile
diff --git a/autotest/firmware_VbootCrypto/src/Makefile b/autotest/firmware_VbootCrypto/src/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..ae0e3147b1bb2b9eb4b37bb58c26ba772bd78cff
--- /dev/null
+++ b/autotest/firmware_VbootCrypto/src/Makefile
@@ -0,0 +1,55 @@
+# 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.
+
+VBOOT_REFERENCE_DIR = ../../..
+BUILD_TEST_DIR = vboot_reference
+# Test Binaries.
+TEST_BINS = \
+ common.sh \
+ firmware_image_tests \
+ firmware_rollback_tests \
+ firmware_splicing_tests \
+ firmware_verify_benchmark \
+ gen_test_cases.sh \
+ kernel_image_tests \
+ kernel_rollback_tests \
+ kernel_splicing_tests \
+ kernel_verify_benchmark \
+ rsa_padding_test \
+ rsa_verify_benchmark \
+ run_image_verification_tests.sh \
+ run_rsa_tests.sh \
+ sha_benchmark \
+ sha_tests \
+ testcases \
+ testkeys
+
+# Utility Binaries.
+UTIL_BINS = verify_data signature_digest_utility
+
+all:
+ # Copy test sources into a temporary directory for building.
+ rm -rf $(BUILD_TEST_DIR)
+ # only copy stuff that's not us
+ sh -c \
+ 'for dir in $(VBOOT_REFERENCE_DIR)/*; do \
+ [ "$${dir}" != "$(VBOOT_REFERENCE_DIR)/autotest" ] && cp -r $${dir} .; \
+ done'
+ # Always build from scratch.
+ $(MAKE) -C $(BUILD_TEST_DIR) clean all
+ # Move test binaries for use by the tests.
+ mkdir -p tests
+ set -e; for i in $(TEST_BINS); do \
+ mv $(BUILD_TEST_DIR)/tests/$$i tests/ ;\
+ done
+ # Move utility binaries used by the tests.
+ mkdir -p utility
+ set -e; for i in $(UTIL_BINS); do \
+ mv $(BUILD_TEST_DIR)/utility/$$i utility/ ;\
+ done
+ # Delete sources.
+ rm -rf $(BUILD_TEST_DIR)
+
+clean:
+ rm -rf utility/ tests/
« 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