]> git.ozlabs.org Git - ccan/blob - ccan/breakpoint/test/run.c
base64: fix for unsigned chars (e.g. ARM).
[ccan] / ccan / breakpoint / test / run.c
1 #include <ccan/breakpoint/breakpoint.h>
2 #include <ccan/breakpoint/breakpoint.c>
3 #include <ccan/tap/tap.h>
4
5 int main(void)
6 {
7         /* This is how many tests you plan to run */
8         plan_tests(2);
9
10         breakpoint();
11
12         ok1(breakpoint_initialized);
13         ok1(!breakpoint_under_debug);
14
15         /* This exits depending on whether all tests passed */
16         return exit_status();
17 }