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/example/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 / example / main.c` 27 lines ยท 713 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 * 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 20 int __cdecl main(int argc, char *argv[]) 21 #else 22 int main(int argc, char *argv[]) 23 #endif 24 { 25 /* Run the test suite */ 26 return clar_test(argc, argv); 27 }