]> sigrok.org Git - libsigrok.git/commit
Add a testsuite for libsigrok.
authorUwe Hermann <redacted>
Thu, 7 Mar 2013 08:37:42 +0000 (09:37 +0100)
committerUwe Hermann <redacted>
Sat, 9 Mar 2013 10:55:43 +0000 (11:55 +0100)
commit79bb0e97d53526ef6deb491ea9c7698ed6e90631
tree06ba2805b1d2bb7954fa4738ac3911d9dfb8b342
parentd5585e32dd856b09d78acab2aac3ba6c78ad7752
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.
HACKING
Makefile.am
README
configure.ac
tests/Makefile.am [new file with mode: 0644]
tests/check_core.c [new file with mode: 0644]
tests/check_driver_all.c [new file with mode: 0644]
tests/check_main.c [new file with mode: 0644]
tests/check_strutil.c [new file with mode: 0644]
tests/lib.c [new file with mode: 0644]
tests/lib.h [new file with mode: 0644]