aboutsummaryrefslogtreecommitdiff
path: root/test/test-main.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-05 16:32:43 -0600
committerSimon Glass <sjg@chromium.org>2021-07-21 10:27:34 -0600
commit719d286475d2df1f1d8f4413659893934f38de7d (patch)
tree233b9c2fafbee2f203304f6beeace476e5263dbe /test/test-main.c
parentbf8188e4aa442a9fcd6b5332d177ec76a8faae65 (diff)
downloadu-boot-719d286475d2df1f1d8f4413659893934f38de7d.zip
u-boot-719d286475d2df1f1d8f4413659893934f38de7d.tar.gz
u-boot-719d286475d2df1f1d8f4413659893934f38de7d.tar.bz2
test: Avoid a build error with SPL
At present this fails to build chromeos_sandbox due to a rebase error in dm_test_pre_run(). Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/test-main.c')
-rw-r--r--test/test-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-main.c b/test/test-main.c
index 7afe874..3cdf684 100644
--- a/test/test-main.c
+++ b/test/test-main.c
@@ -45,7 +45,7 @@ static int dm_test_pre_run(struct unit_test_state *uts)
uts->force_fail_alloc = false;
uts->skip_post_probe = false;
gd->dm_root = NULL;
- if (IS_ENABLED(CONFIG_UT_DM) && !CONFIG_IS_ENABLED(OF_PLATDATA))
+ if (CONFIG_IS_ENABLED(UT_DM) && !CONFIG_IS_ENABLED(OF_PLATDATA))
memset(dm_testdrv_op_count, '\0', sizeof(dm_testdrv_op_count));
arch_reset_for_test();