mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Update to 10e96bc (Merge pull request #127 from pks-gitlab/pks-ci-improvements, 2025-09-22). This commit includes a couple of changes: - The GitHub CI has been updated to include a 32 bit CI job. Furthermore, the jobs now compile with "-Werror" and more warnings enabled. - An issue was addressed where `uintptr_t` is not available on NonStop [1]. - The clar selftests have been restructured so that it is now possible to add small test suites more readily. This was done to add tests for the above addressed issue, where we now use "%p" to print pointers in a platform dependent way. - An issue was addressed where the test output had a trailing whitespace with certain output formats, which caused whitespace issues in the test expectation files. [1]: <01c101dc2842$38903640$a9b0a2c0$@nexbridge.com> Reported-by: Randall S. Becker <rsbecker@nexbridge.com> Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
28 lines
749 B
C
28 lines
749 B
C
/*
|
|
* Copyright (c) Vicent Marti. All rights reserved.
|
|
*
|
|
* This file is part of clar, distributed under the ISC license.
|
|
* For full terms see the included COPYING file.
|
|
*/
|
|
|
|
#include "clar.h"
|
|
|
|
/*
|
|
* Selftest main() for clar tests.
|
|
*
|
|
* You should write your own main routine for clar tests that does specific
|
|
* setup and teardown as necessary for your application. The only required
|
|
* line is the call to `clar_test(argc, argv)`, which will execute the test
|
|
* suite. If you want to check the return value of the test application,
|
|
* your main() should return the same value returned by clar_test().
|
|
*/
|
|
|
|
#ifdef _WIN32
|
|
int __cdecl main(int argc, char *argv[])
|
|
#else
|
|
int main(int argc, char *argv[])
|
|
#endif
|
|
{
|
|
return clar_test(argc, argv);
|
|
}
|