xaizek / stic (License: MIT) (since 2018-12-07)
Simple Tests In C with optional automatic test registration in C.
Commit 36574ec0c6146eb94333c6f7330254d36cabb538

Mark stic_simple_test_result as extern
This allows compiling with -fno-common which is the default since GCC
10.
Author: xaizek
Author date (UTC): 2024-08-06 15:57
Committer name: xaizek
Committer date (UTC): 2024-08-06 15:57
Parent(s): f94c8098eeed0d97218565fc83b72983cb69f0f7
Signing key: 99DC5E4DB05F6BE2
Tree: 8ec18a601ca17af3853473cbdbda4e7b32cdea1b
File Lines added Lines deleted
src/stic.h 1 1
File src/stic.h changed (mode: 100644) (index 2baab06..087ec43)
... ... typedef void (*stic_void_string)(char[]);
24 24
25 25 /* Declarations. */ /* Declarations. */
26 26
27 void (*stic_simple_test_result)(int passed, char* reason, const char* function, const char file[], unsigned int line);
27 extern void (*stic_simple_test_result)(int passed, char* reason, const char* function, const char file[], unsigned int line);
28 28 void stic_test_fixture_start(const char filepath[]); void stic_test_fixture_start(const char filepath[]);
29 29 void stic_test_fixture_end( void ); void stic_test_fixture_end( void );
30 30 void stic_simple_test_result_log(int passed, char* reason, const char* function, const char file[], unsigned int line); void stic_simple_test_result_log(int passed, char* reason, const char* function, const char file[], unsigned int line);
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/stic

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/stic

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master