projects
/
platform
/
core
/
uifw
/
libtdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a7d046
)
tc : fix the failed test on TDMBackendPP
03/256803/3
author
SooChan Lim
<sc1.lim@samsung.com>
Tue, 13 Apr 2021 09:00:54 +0000
(18:00 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Tue, 13 Apr 2021 09:06:19 +0000
(09:06 +0000)
call the pairs of PreparePP and DestroyPP
Change-Id: I1e1c30fb2dfbb253e168fe993de47698f7f1128d
haltests/src/tc_tdm_backend_pp.cpp
patch
|
blob
|
history
diff --git
a/haltests/src/tc_tdm_backend_pp.cpp
b/haltests/src/tc_tdm_backend_pp.cpp
index
2a780a3
..
2ca41bd
100644
(file)
--- a/
haltests/src/tc_tdm_backend_pp.cpp
+++ b/
haltests/src/tc_tdm_backend_pp.cpp
@@
-526,17
+526,17
@@
TEST_P(TDMBackendPP, PPAttach)
{
TDM_UT_SKIP_FLAG(tc_tdm_display_has_pp_capability(dpy));
- EXPECT_EQ(PreparePP(), true);
for (int f = 0; f < format_count; f++) {
+ EXPECT_EQ(PreparePP(), true);
EXPECT_EQ(PrepareBuffers(TDM_UT_BUFFER_SIZE, TDM_UT_BUFFER_SIZE, formats[f],
TDM_UT_BUFFER_SIZE, TDM_UT_BUFFER_SIZE, formats[f],
TDM_TRANSFORM_NORMAL), true);
-
for (int b = 0; b < 3; b++)
EXPECT_EQ(tdm_pp_attach(pp, srcbuf[b], dstbuf[b]), TDM_ERROR_NONE);
DestroyBuffers();
+ DestroyPP();
}
}