summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2025-01-20 14:25:24 -0700
committerTom Rini <[email protected]>2025-01-24 14:34:39 -0600
commit238ba333c369b6cc521527e0783e6ac24368569f (patch)
tree0d7ebb8e1035dc4fcd83bc02f84103fa9cb3cea4 /include/test
parent08a22b2cc44414f3de70e829bf83e67888bd7196 (diff)
test: Rename test_get_state() to ut_get_state()
Rename this function and test_set_state() so use the same ut_ prefix as other functions in ut.h Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/ut.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/test/ut.h b/include/test/ut.h
index c8838dad096..2e4d8edf826 100644
--- a/include/test/ut.h
+++ b/include/test/ut.h
@@ -466,18 +466,18 @@ void ut_unsilence_console(struct unit_test_state *uts);
void ut_set_skip_delays(struct unit_test_state *uts, bool skip_delays);
/**
- * test_get_state() - Get the active test state
+ * ut_state_get() - Get the active test state
*
* Return: the currently active test state, or NULL if none
*/
-struct unit_test_state *test_get_state(void);
+struct unit_test_state *ut_get_state(void);
/**
- * test_set_state() - Set the active test state
+ * ut_set_state() - Set the active test state
*
* @uts: Test state to use as currently active test state, or NULL if none
*/
-void test_set_state(struct unit_test_state *uts);
+void ut_set_state(struct unit_test_state *uts);
/**
* ut_run_tests() - Run a set of tests