Software APIs
test_hooks_1.c
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #include <stdbool.h>
6 
8 
10  LOG_INFO("Manufacturer pre-test hook running ...");
11 
12  // Perform whatever pre-test setup needs to be done.
13  // Return true if successful, false if unsuccessful.
14  return true;
15 }
16 
18  LOG_INFO("Manufacturer post-test hook running ...");
19 
20  // Perform whatever post-test teardown needs to be done.
21  // Return true if successful, false if unsuccessful.
22  return true;
23 }