diff --git a/src/libs/openpod_rq/Makefile b/src/libs/openpod_rq/Makefile index 9c5cd9a..3df77bc 100755 --- a/src/libs/openpod_rq/Makefile +++ b/src/libs/openpod_rq/Makefile @@ -8,7 +8,7 @@ CFLAGS += -I../../openpod -I../.. all: $(LIB) install:: - # TODO +# Empty clean:: -rm *.o diff --git a/src/test/unit/suites/suite_start_stop.c b/src/test/unit/suites/suite_start_stop.c index 875ec6c..88ae73e 100755 --- a/src/test/unit/suites/suite_start_stop.c +++ b/src/test/unit/suites/suite_start_stop.c @@ -201,9 +201,17 @@ TEST_FUNCT(use_driver_properties) { //errno_t rc; char buf[128]; - // TODO test pod_gen_listproperties + // TODO test combined valp()/get/set/activate + // List + + CU_ASSERT_EQUAL(0, pod_drv_listproperties( &test_driver, 3, buf, sizeof(buf) ) ); + CU_ASSERT_STRING_EQUAL( buf, "ro_func_conv" ); + + CU_ASSERT_EQUAL(ENOENT, pod_drv_listproperties( &test_driver, 333, buf, sizeof(buf) ) ); + CU_ASSERT_EQUAL(E2BIG, pod_drv_listproperties( &test_driver, 0, buf, 2) ); + // Int CU_ASSERT_EQUAL(0, pod_drv_getproperty( &test_driver, "blit_queue_timeout", buf, sizeof(buf) ) );