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:
9ca1c88
)
test the only connected output
28/99928/2
author
Boram Park
<boram1288.park@samsung.com>
Thu, 24 Nov 2016 03:15:05 +0000
(12:15 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Fri, 25 Nov 2016 07:51:27 +0000
(23:51 -0800)
Change-Id: I482ee9f9dd0e92094cf2e9998adf9ff381f1721f
tools/tdm_test_server.c
patch
|
blob
|
history
diff --git
a/tools/tdm_test_server.c
b/tools/tdm_test_server.c
index
b948a96
..
e7ee525
100644
(file)
--- a/
tools/tdm_test_server.c
+++ b/
tools/tdm_test_server.c
@@
-630,6
+630,11
@@
interpret_args(tdm_test_server *data)
TDM_EXIT_IF_FAIL(ret == TDM_ERROR_NONE);
for (i = 0; i < output_count; i++) {
+ tdm_output *output = tdm_display_get_output(data->display, i, NULL);
+ tdm_output_conn_status status;
+ tdm_output_get_conn_status(output, &status);
+ if (status == TDM_OUTPUT_CONN_STATUS_DISCONNECTED)
+ continue;
o = calloc(1, sizeof * o);
TDM_EXIT_IF_FAIL(o != NULL);
o->data = data;