| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 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 | 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 INCLUDES += -I./include \ | 5 INCLUDES += -I./include \ |
| 6 -I$(FWDIR)/lib/include \ | 6 -I$(FWDIR)/lib/include \ |
| 7 -I$(FWDIR)/lib/cgptlib/include \ | 7 -I$(FWDIR)/lib/cgptlib/include \ |
| 8 -I$(FWDIR)/lib/cryptolib/include \ | 8 -I$(FWDIR)/lib/cryptolib/include \ |
| 9 -I$(FWDIR)/lib/tpm_lite/include \ | 9 -I$(FWDIR)/lib/tpm_lite/include \ |
| 10 -I$(HOSTDIR)/include | 10 -I$(HOSTDIR)/include |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 # Run crypto tests | 83 # Run crypto tests |
| 84 runcryptotests: | 84 runcryptotests: |
| 85 ./run_rsa_tests.sh | 85 ./run_rsa_tests.sh |
| 86 ${BUILD_ROOT}/sha_tests | 86 ${BUILD_ROOT}/sha_tests |
| 87 ./run_vboot_common_tests.sh | 87 ./run_vboot_common_tests.sh |
| 88 | 88 |
| 89 # Run other misc tests | 89 # Run other misc tests |
| 90 runmisctests: | 90 runmisctests: |
| 91 ./run_vbutil_tests.sh | 91 ./run_vbutil_tests.sh |
| 92 | 92 |
| 93 #This will exercise vbutil_kernel and vbutil_firmware |
| 94 runfuzztests: |
| 95 ./gen_fuzz_test_cases.sh |
| 93 | 96 |
| 94 runtests: genkeys runcgpttests runcryptotests runmisctests | 97 runtests: genkeys runcgpttests runcryptotests runmisctests runfuzztests |
| 95 | 98 |
| 96 # TODO: tests to run when ported to new API | 99 # TODO: tests to run when ported to new API |
| 97 # ./run_image_verification_tests.sh | 100 # ./run_image_verification_tests.sh |
| 98 # # Splicing tests | 101 # # Splicing tests |
| 99 # ${BUILD_ROOT}/firmware_splicing_tests | 102 # ${BUILD_ROOT}/firmware_splicing_tests |
| 100 # ${BUILD_ROOT}/kernel_splicing_tests | 103 # ${BUILD_ROOT}/kernel_splicing_tests |
| 101 # # Rollback Tests | 104 # # Rollback Tests |
| 102 # ${BUILD_ROOT}/firmware_rollback_tests | 105 # ${BUILD_ROOT}/firmware_rollback_tests |
| 103 # ${BUILD_ROOT}/kernel_rollback_tests | 106 # ${BUILD_ROOT}/kernel_rollback_tests |
| 104 | 107 |
| 105 install-rbtest: $(BUILD_ROOT)/rollback_index_test | 108 install-rbtest: $(BUILD_ROOT)/rollback_index_test |
| 106 mkdir -p $(DESTDIR) | 109 mkdir -p $(DESTDIR) |
| 107 cp -f $(BUILD_ROOT)/rollback_index_test $(DESTDIR) | 110 cp -f $(BUILD_ROOT)/rollback_index_test $(DESTDIR) |
| 108 | 111 |
| 109 -include ${ALL_DEPS} | 112 -include ${ALL_DEPS} |
| OLD | NEW |