Skip to content

tests : add a C compliance test - #2848

Merged
ggerganov merged 5 commits into
ggml-org:masterfrom
cebtenzzre:check-c-compliance
Aug 30, 2023
Merged

ggerganov merged 5 commits into
ggml-org:masterfrom
cebtenzzre:check-c-compliance

Conversation

@cebtenzzre

Copy link
Copy Markdown
Collaborator

This is a straightforward way to help developers realize when they make a change to llama.h that breaks C compatibility.
See PR #2847 for a recent example of this.

@cebtenzzre

cebtenzzre commented Aug 28, 2023 •

Copy link
Copy Markdown
Collaborator Author

Oops, the Makefile isn't pulling in the target unless you request it explicitly. I can't even run the tests target because it's been broken since at least edd4c14:

make: *** No rule to make target 'tests/test-tokenizer-0.cpp', needed by 'tests/test-tokenizer-0'.  Stop.
make: *** Waiting for unfinished jobs....

@ggerganov

Copy link
Copy Markdown
Member

Lets merge master and make sure CI is good

@ggerganov
ggerganov merged commit 8494089 into ggml-org:master Aug 30, 2023
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
* tests : add a C compliance test

* make : build C compliance test by default

* make : fix clean and make sure C test fails on clang

* make : move -Werror=implicit-int to CFLAGS
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
* tests : add a C compliance test

* make : build C compliance test by default

* make : fix clean and make sure C test fails on clang

* make : move -Werror=implicit-int to CFLAGS
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
* tests : add a C compliance test

* make : build C compliance test by default

* make : fix clean and make sure C test fails on clang

* make : move -Werror=implicit-int to CFLAGS
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
* tests : add a C compliance test

* make : build C compliance test by default

* make : fix clean and make sure C test fails on clang

* make : move -Werror=implicit-int to CFLAGS
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
* tests : add a C compliance test

* make : build C compliance test by default

* make : fix clean and make sure C test fails on clang

* make : move -Werror=implicit-int to CFLAGS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants