source: mainline/uspace/lib/c/test/main.c@ 5208709

Last change on this file since 5208709 was 5208709, checked in by Matěj Volf <git@…>, 7 months ago

Add fibril_add_exit_hook tests

  • Property mode set to 100644
File size: 2.1 KB
Line 
1/*
2 * Copyright (c) 2023 Jiri Svoboda
3 * Copyright (c) 2014 Vojtech Horky
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * - Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * - Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 * - The name of the author may not be used to endorse or promote products
16 * derived from this software without specific prior written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30#include <stdio.h>
31#include <pcut/pcut.h>
32
33PCUT_INIT;
34
35PCUT_IMPORT(capa);
36PCUT_IMPORT(casting);
37PCUT_IMPORT(circ_buf);
38PCUT_IMPORT(double_to_str);
39PCUT_IMPORT(fibril_timer);
40PCUT_IMPORT(fibril_exit_hook);
41PCUT_IMPORT(getopt);
42PCUT_IMPORT(gsort);
43PCUT_IMPORT(ieee_double);
44PCUT_IMPORT(imath);
45PCUT_IMPORT(inttypes);
46PCUT_IMPORT(loc);
47PCUT_IMPORT(mem);
48PCUT_IMPORT(odict);
49PCUT_IMPORT(perf);
50PCUT_IMPORT(perm);
51PCUT_IMPORT(qsort);
52PCUT_IMPORT(scanf);
53PCUT_IMPORT(sprintf);
54PCUT_IMPORT(stdio);
55PCUT_IMPORT(stdlib);
56PCUT_IMPORT(str);
57PCUT_IMPORT(string);
58PCUT_IMPORT(strtol);
59PCUT_IMPORT(table);
60PCUT_IMPORT(uuid);
61
62PCUT_MAIN();
Note: See TracBrowser for help on using the repository browser.