Git fork
1/*
2 * Copyright (c) Vicent Marti. All rights reserved.
3 *
4 * This file is part of clar, distributed under the ISC license.
5 * For full terms see the included COPYING file.
6 */
7
8#include "clar.h"
9
10/*
11 * Minimal main() for clar tests.
12 *
13 * Modify this with any application specific setup or teardown that you need.
14 * The only required line is the call to `clar_test(argc, argv)`, which will
15 * execute the test suite. If you want to check the return value of the test
16 * application, main() should return the same value returned by clar_test().
17 */
18
19#ifdef _WIN32
20int __cdecl main(int argc, char *argv[])
21#else
22int main(int argc, char *argv[])
23#endif
24{
25 /* Run the test suite */
26 return clar_test(argc, argv);
27}