Skip to content

Commit f64d37e

Browse files
committed
tests: drivers: video: api: fix a typo in the ztest macro
The typo is `video_common` used while `video_emul` should have been used. Signed-off-by: Josuah Demangeon <me@josuah.net>
1 parent abe14a6 commit f64d37e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/drivers/video/api/src/video_emul.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
const struct device *rx_dev = DEVICE_DT_GET(DT_NODELABEL(test_video_emul_rx));
1212
const struct device *imager_dev = DEVICE_DT_GET(DT_NODELABEL(test_video_emul_imager));
1313

14-
ZTEST(video_common, test_video_device)
14+
ZTEST(video_emul, test_video_device)
1515
{
1616
zexpect_true(device_is_ready(rx_dev));
1717
zexpect_true(device_is_ready(imager_dev));
@@ -23,7 +23,7 @@ ZTEST(video_common, test_video_device)
2323
zexpect_ok(video_stream_stop(rx_dev));
2424
}
2525

26-
ZTEST(video_common, test_video_format)
26+
ZTEST(video_emul, test_video_format)
2727
{
2828
struct video_caps caps = {0};
2929
struct video_format fmt = {0};
@@ -73,7 +73,7 @@ ZTEST(video_common, test_video_format)
7373
zexpect_not_equal(fmt.pixelformat, 0x00000000, "should not store wrong formats");
7474
}
7575

76-
ZTEST(video_common, test_video_frmival)
76+
ZTEST(video_emul, test_video_frmival)
7777
{
7878
struct video_format fmt;
7979
struct video_frmival_enum fie = {.format = &fmt};
@@ -125,7 +125,7 @@ ZTEST(video_common, test_video_frmival)
125125
} while (video_enum_frmival(imager_dev, VIDEO_EP_OUT, &fie) == 0);
126126
}
127127

128-
ZTEST(video_common, test_video_ctrl)
128+
ZTEST(video_emul, test_video_ctrl)
129129
{
130130
struct video_control ctrl = {.id = VIDEO_CID_PRIVATE_BASE + 0x01, .val = 30};
131131

@@ -136,7 +136,7 @@ ZTEST(video_common, test_video_ctrl)
136136
zexpect_equal(ctrl.val, 30);
137137
}
138138

139-
ZTEST(video_common, test_video_vbuf)
139+
ZTEST(video_emul, test_video_vbuf)
140140
{
141141
struct video_caps caps;
142142
struct video_format fmt;

0 commit comments

Comments
 (0)