X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=tests%2Flib.h;h=cc027ab67e8a8a4a8ea3ec2de45649c18b8d1801;hb=7601dca780c21facad042dd716d76fe7923d7eab;hp=cefe0438d7a4a201d73e600906e81dd76a33b629;hpb=4960aeb03533f503c32c50cdd94277d561112c1a;p=libsigrok.git diff --git a/tests/lib.h b/tests/lib.h index cefe0438..cc027ab6 100644 --- a/tests/lib.h +++ b/tests/lib.h @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef LIBSIGROK_TESTS_LIB_H @@ -23,6 +22,8 @@ #include +#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) + extern struct sr_context *srtest_ctx; void srtest_setup(void); @@ -51,5 +52,7 @@ Suite *suite_strutil(void); Suite *suite_version(void); Suite *suite_device(void); Suite *suite_trigger(void); +Suite *suite_analog(void); +Suite *suite_conv(void); #endif