From 97eaabfcd088897d3226a538a53fdb1ec160c0b1 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Sun, 9 Jun 2019 11:21:57 +0200 Subject: [PATCH] TODO: remove the task for factoring out of common testing code We now have libgpiomockup and it's used by the core library testing executable. Remove the task from TODO. Signed-off-by: Bartosz Golaszewski --- TODO | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/TODO b/TODO index 387c1d3..072b8ea 100644 --- a/TODO +++ b/TODO @@ -25,26 +25,6 @@ and is partially functional. ---------- -* factor out common parts of the testing framework into a separate library - -We now have the core library C API and two sets of language bindings. While -the core library has proper testing using the custom framework, the tests for -C++ and Python parts are really just a bunch of examples in a single file. - -The idea is to move the parts dealing with gpio-mockup loading (kmod), dummy -device detection (udev) and kernel version checking out of gpiod-test and into -a separate library called libgpiod-test that would then be reused by whatever -mechanism each set of bindings uses for testing. - -This way the parts that are orthogonal to unit testing framework but necessary -for working together with the GPIO testing kernel module would not be -duplicated. - -One caveat: while C++ could use this library as is, there still would be a need -for a Python wrapper around it for Python bindings. - ----------- - * porting the unit tests of core libgpiod library to using GLib Once libgpiod-test is ready, we can think about reusing existing testing -- 2.30.2