On Thursday 24 Mar 2016 16:12:49 Johan Ström wrote: > I just commited a very first unit-test, something which the codebase is > lacking today. > Also merged the fix for FS_input_ascii_array, and some other cleanups. > > The test is built with libcheck, a pretty simple C unittest library. > It is by no means a decision on a lib to use, but it's a start. > > To build, ensure libcheck is installed, re-run configure, and then make > all check.
debian/raspbian has package 'check' but v0.9.10 I think, stretch version 0.10.0 installs fine > For the moment there is only a single test case, for > FS_input_ascii_array (which was fixed through with help from this test). > owfs (and C in generall) is a kindof tricky to write tests for, but it > is doable.. at least for some parts.. Way above my level of understanding but builds fine here and I see PASS: owlib_test [snip] ========================== Testsuite summary for ========================== # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ========================== flash by during the build. Should I see/look for anything more? Andy ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers