Software APIs
sw
device
tests
closed_source
test_hooks_default.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
7
#include "
sw/device/lib/base/macros.h
"
8
9
// The default test hooks do nothing, but exist as the OTTF expects some hooks
10
// to exist. Additionally, they are weak symbols so they may be overridden by
11
// other custom test hooks.
12
13
OT_WEAK
14
bool
manufacturer_pre_test_hook
(
void
) {
return
true
; }
15
16
OT_WEAK
17
bool
manufacturer_post_test_hook
(
void
) {
return
true
; }
Return to
OpenTitan Documentation