interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / unit-tests / clar / test / suites / main.c

27 lines · 749 bytes Raw Blame History
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 * Selftest main() for clar tests.
12 *
13 * You should write your own main routine for clar tests that does specific
14 * setup and teardown as necessary for your application. The only required
15 * line is the call to `clar_test(argc, argv)`, which will execute the test
16 * suite. If you want to check the return value of the test application,
17 * your main() should return the same value returned by clar_test().
18 */
19
20#ifdef _WIN32
21int __cdecl main(int argc, char *argv[])
22#else
23int main(int argc, char *argv[])
24#endif
25{
26 return clar_test(argc, argv);
27}