aboutsummaryrefslogtreecommitdiff
path: root/test/ut.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-03-12 15:57:20 -0500
committerTom Rini <trini@konsulko.com>2021-03-12 15:57:20 -0500
commitc57ec2c2bab00c02a457ca70624c1333c60c2ec0 (patch)
tree8b8b53585fd9bc655f32eba141f3c2d25d21d882 /test/ut.c
parent668866aa24a87244e64be42f296959297ddc5014 (diff)
parentfc3283314539d6c3fb577359f6cb364c19c13726 (diff)
Merge branch '2021-03-12-test-improvements' into next
- Assorted improvements to the pytest framework
Diffstat (limited to 'test/ut.c')
-rw-r--r--test/ut.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ut.c b/test/ut.c
index 7328338731..ea0af153e4 100644
--- a/test/ut.c
+++ b/test/ut.c
@@ -133,3 +133,10 @@ void ut_unsilence_console(struct unit_test_state *uts)
{
gd->flags &= ~(GD_FLG_SILENT | GD_FLG_RECORD);
}
+
+void ut_set_skip_delays(struct unit_test_state *uts, bool skip_delays)
+{
+#ifdef CONFIG_SANDBOX
+ state_set_skip_delays(skip_delays);
+#endif
+}