Skip to content

Commit 79fe1e4

Browse files
authored
tests : remove obsolete .mjs script (ggml-org#21615)
1 parent ac166cd commit 79fe1e4

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

tests/run-json-schema-to-grammar.mjs

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/test-json-schema-to-grammar.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,17 +1579,6 @@ int main() {
15791579
} else {
15801580
fprintf(stderr, "\033[33mWARNING: Python not found (min version required is 3.8), skipping Python JSON schema -> grammar tests.\n\033[0m");
15811581
}
1582-
1583-
if (getenv("LLAMA_NODE_AVAILABLE") || (std::system("node --version") == 0)) {
1584-
test_all("JavaScript", [](const TestCase & tc) {
1585-
write("test-json-schema-input.tmp", tc.schema);
1586-
tc.verify_status(std::system(
1587-
"node ./tests/run-json-schema-to-grammar.mjs test-json-schema-input.tmp > test-grammar-output.tmp") == 0 ? SUCCESS : FAILURE);
1588-
tc.verify(read("test-grammar-output.tmp"));
1589-
});
1590-
} else {
1591-
fprintf(stderr, "\033[33mWARNING: Node not found, skipping JavaScript JSON schema -> grammar tests.\n\033[0m");
1592-
}
15931582
}
15941583

15951584
test_all("Check Expectations Validity", [](const TestCase & tc) {

0 commit comments

Comments
 (0)