llama.cpp
tests: conditional python & node json schema tests
#6207
Merged

tests: conditional python & node json schema tests #6207

ggerganov merged 4 commits into ggml-org:master from ochafik:json-tests
ochafik
ochafik1 year ago (edited 1 year ago)

Runs these tests either when python/node is detected (as suggested by @cebtenzzre) or when LLAMA_PYTHON_AVAILABLE / LLAMA_NODE_AVAILABLE env var is set (which is done - w/ extra node & python setup - in one test env, ubuntu-focal-make, to guarantee those tests are run somewhere).

(tests introduced in #5978 / disabled in #6198 as node/python aren't always there)

json: only attempt python & node schema conversion tests if their bin…
3c8a37a0
json: orange warnings when tests skipped
ef3565fe
json: ensure py/js schema conv tested on ubuntu-focal-make
cbb3e2f6
json: print env vars in test
60c75080
ochafik ochafik changed the title JSON schema tests: only attempt python & node tests if corresp. interpreter is found tests: conditional python & node json schema tests 1 year ago
ochafik ochafik marked this pull request as ready for review 1 year ago
ggerganov
ggerganov approved these changes on 2024-03-22
ggerganov ggerganov merged f77a8ffd into master 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone