libusbgx: tests: Support static binding definition
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Fri, 27 Feb 2015 14:42:52 +0000 (15:42 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 20:45:34 +0000 (21:45 +0100)
commite0fa9b973eb7a0e389aca6183159d9aa5c75a87c
tree9ab1883815091aaf0d9b7be445a7d9d2932fe4cd
parent03606d923859341688097b23d75b2dd8912ea59e
libusbgx: tests: Support static binding definition

Sometimes we would like to define bindings names
other than default one. To achieve this we allocate
bindings only if they has not been allocated earlier.

Change-Id: Ifbad9b1069dd1a41d4a9f87c427c991538a8417f
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Reviewed-by: Pawel Szewczyk <p.szewczyk@samsung.com>
tests/usbg-test.c