Commit Graph

7 Commits

Author SHA1 Message Date
Uwe Hermann 57d0a2e195 unittests: Update for probe-groups changes. 2013-11-10 23:22:18 +01:00
Uwe Hermann 71185b48a1 Unit tests for 'binary' input format & version APIs. 2013-10-28 22:08:34 +01:00
Uwe Hermann 059f36325e unittests: Comment out a testcase.
The boundary test-case with SR_GHZ(18446744073ULL) currently fails, but
that is not practically relevant so comment it out for now, until we add
a proper fix.
2013-08-07 16:21:57 +02:00
Paul Sokolovsky ba253f2bb9 Fix sr_si_string_u64() test cases.
The function shall format 1004 as 1.004 k, 1004000 as 1.004 M and
1004000000 as 1.004 G.

References #73.
2013-08-07 16:21:57 +02:00
Uwe Hermann 44f91e2950 unittests: Disable a broken test for now. 2013-04-27 19:06:27 +02:00
Uwe Hermann 34e4c27391 unittests: Adapt to new GVariant system. 2013-04-12 17:59:38 +02:00
Uwe Hermann 79bb0e97d5 Add a testsuite for libsigrok.
This adds a suite of unit tests for libsigrok. It uses the 'Check'
tool/library (apt-get install check) to run the tests.

The configure tool tries to find libcheck. If it succeeds, a
"make check" will run all tests. Otherwise, none of the tests will
be built and "make check" will not run any tests.

This also means that users who don't have 'check' installed will still
be able to build and install libsigrok just fine.
2013-03-09 11:55:43 +01:00