Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/unit-tests/clar/test/suites/main.c # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers 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 21 int __cdecl main(int argc, char *argv[]) 22 #else 23 int main(int argc, char *argv[]) 24 #endif 25 { 26 return clar_test(argc, argv); 27 }