X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Ftap.h;fp=tests%2Ftap.h;h=7cfed7000951cadf34ce6e58c6ae74060c75960d;hb=48beefc91ce09133eac5a09bd856de83b86a54b6;hp=0000000000000000000000000000000000000000;hpb=72098143aa5d995802b411e152b89ad252dd37ca;p=lttng-ust.git diff --git a/tests/tap.h b/tests/tap.h new file mode 100644 index 00000000..7cfed700 --- /dev/null +++ b/tests/tap.h @@ -0,0 +1,29 @@ +/* Copyright (C) 2010 Nils Carlson + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +#ifndef __TAP_H +#define __TAP_H + +#include +#include + +void tap_plan(int count); + +void tap_ok(int bool, const char *format, ...); + +int tap_status(void); + +#endif /* __TAP_H */