| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 93 #This will exercise vbutil_kernel and vbutil_firmware |
| 94 runfuzztests: | 94 runfuzztests: |
| 95 ./gen_fuzz_test_cases.sh | 95 ./gen_fuzz_test_cases.sh |
| 96 | 96 |
| 97 runtests: genkeys runcgpttests runcryptotests runmisctests runfuzztests | 97 # Run bmpblk_utility tests |
| 98 runbmptests: |
| 99 » $(MAKE) BUILD=$(shell readlink -f ${BUILD}) -C bitmaps runtests |
| 100 |
| 101 ALLTESTS=runcgpttests runcryptotests runmisctests runfuzztests runbmptests |
| 102 |
| 103 runtests: genkeys ${ALLTESTS} |
| 98 | 104 |
| 99 # TODO: tests to run when ported to new API | 105 # TODO: tests to run when ported to new API |
| 100 # ./run_image_verification_tests.sh | 106 # ./run_image_verification_tests.sh |
| 101 # # Splicing tests | 107 # # Splicing tests |
| 102 # ${BUILD_ROOT}/firmware_splicing_tests | 108 # ${BUILD_ROOT}/firmware_splicing_tests |
| 103 # ${BUILD_ROOT}/kernel_splicing_tests | 109 # ${BUILD_ROOT}/kernel_splicing_tests |
| 104 # # Rollback Tests | 110 # # Rollback Tests |
| 105 # ${BUILD_ROOT}/firmware_rollback_tests | 111 # ${BUILD_ROOT}/firmware_rollback_tests |
| 106 # ${BUILD_ROOT}/kernel_rollback_tests | 112 # ${BUILD_ROOT}/kernel_rollback_tests |
| 107 | 113 |
| 108 install-rbtest: $(BUILD_ROOT)/rollback_index_test | 114 install-rbtest: $(BUILD_ROOT)/rollback_index_test |
| 109 mkdir -p $(DESTDIR) | 115 mkdir -p $(DESTDIR) |
| 110 cp -f $(BUILD_ROOT)/rollback_index_test $(DESTDIR) | 116 cp -f $(BUILD_ROOT)/rollback_index_test $(DESTDIR) |
| 111 | 117 |
| 112 -include ${ALL_DEPS} | 118 -include ${ALL_DEPS} |
| OLD | NEW |