infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
double_tap.h File Reference

A simple, header-only TAP14-compatible testing framework for C. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define plan(count)   ((void)0)
 
#define done()   (0)
 
#define bail_out(...)
 
#define ok(cond, ...)   (true)
 
#define pass(...)   ((void)0)
 
#define fail(...)   ((void)0)
 
#define subtest(name)   if (0)
 
#define skip(count, ...)   ((void)0)
 
#define skip_all(...)   ((void)0)
 
#define TODO(reason, ...)   if (0)
 
#define diag(...)   ((void)0)
 
#define note(...)   ((void)0)
 
#define TEST
 

Detailed Description

A simple, header-only TAP14-compatible testing framework for C.

Copyright (c) 2025 Sanko Robinson

This source code is dual-licensed under the Artistic License 2.0 or the MIT License. You may choose to use this code under the terms of either license.

SPDX-License-Identifier: (Artistic-2.0 OR MIT)

The documentation blocks within this file are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

SPDX-License-Identifier: CC-BY-4.0

Macro Definition Documentation

◆ bail_out

#define bail_out (   ...)
Value:
do { \
fprintf(stderr, "Bail out! "); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
exit(1); \
} while (0)

◆ diag

#define diag (   ...)    ((void)0)

◆ done

#define done ( )    (0)

◆ fail

#define fail (   ...)    ((void)0)

◆ note

#define note (   ...)    ((void)0)

◆ ok

#define ok (   cond,
  ... 
)    (true)

◆ pass

#define pass (   ...)    ((void)0)

◆ plan

#define plan (   count)    ((void)0)

◆ skip

#define skip (   count,
  ... 
)    ((void)0)

◆ skip_all

#define skip_all (   ...)    ((void)0)

◆ subtest

#define subtest (   name)    if (0)

◆ TEST

#define TEST
Value:
int main(void) { \
return 0; \
}
int main(void)
Definition 821_threading_bare.c:101

◆ TODO

#define TODO (   reason,
  ... 
)    if (0)