json: print env vars in test
This commit is contained in:
parent
cbb3e2f629
commit
60c75080ef
1 changed files with 3 additions and 0 deletions
|
@ -794,6 +794,9 @@ static void test_all(const std::string & lang, std::function<void(const TestCase
|
|||
}
|
||||
|
||||
int main() {
|
||||
fprintf(stderr, "LLAMA_NODE_AVAILABLE = %s\n", getenv("LLAMA_NODE_AVAILABLE") ? "true" : "false");
|
||||
fprintf(stderr, "LLAMA_PYTHON_AVAILABLE = %s\n", getenv("LLAMA_PYTHON_AVAILABLE") ? "true" : "false");
|
||||
|
||||
test_all("C++", [](const TestCase & tc) {
|
||||
try {
|
||||
tc.verify(json_schema_to_grammar(nlohmann::json::parse(tc.schema)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue