Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c75c2c7

Browse filesBrowse files
ggerganovtybalex
authored andcommitted
tests : disable system() calls (ggml-org#6198)
ggml-ci
1 parent 09b203c commit c75c2c7
Copy full SHA for c75c2c7

File tree

Expand file treeCollapse file tree

1 file changed

+12
-12
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-12
lines changed

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

Copy file name to clipboardExpand all lines: tests/test-json-schema-to-grammar.cpp
+12-12Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -803,18 +803,18 @@ int main() {
803803
tc.verify_status(FAILURE);
804804
}
805805
});
806-
test_all("Python", [](const TestCase & tc) {
807-
write("test-json-schema-input.tmp", tc.schema);
808-
tc.verify_status(std::system(
809-
"python ./examples/json-schema-to-grammar.py test-json-schema-input.tmp > test-grammar-output.tmp") == 0 ? SUCCESS : FAILURE);
810-
tc.verify(read("test-grammar-output.tmp"));
811-
});
812-
test_all("JavaScript", [](const TestCase & tc) {
813-
write("test-json-schema-input.tmp", tc.schema);
814-
tc.verify_status(std::system(
815-
"node ./tests/run-json-schema-to-grammar.mjs test-json-schema-input.tmp > test-grammar-output.tmp") == 0 ? SUCCESS : FAILURE);
816-
tc.verify(read("test-grammar-output.tmp"));
817-
});
806+
//test_all("Python", [](const TestCase & tc) {
807+
// write("test-json-schema-input.tmp", tc.schema);
808+
// tc.verify_status(std::system(
809+
// "python ./examples/json-schema-to-grammar.py test-json-schema-input.tmp > test-grammar-output.tmp") == 0 ? SUCCESS : FAILURE);
810+
// tc.verify(read("test-grammar-output.tmp"));
811+
//});
812+
//test_all("JavaScript", [](const TestCase & tc) {
813+
// write("test-json-schema-input.tmp", tc.schema);
814+
// tc.verify_status(std::system(
815+
// "node ./tests/run-json-schema-to-grammar.mjs test-json-schema-input.tmp > test-grammar-output.tmp") == 0 ? SUCCESS : FAILURE);
816+
// tc.verify(read("test-grammar-output.tmp"));
817+
//});
818818

819819
test_all("Check Expectations Validity", [](const TestCase & tc) {
820820
if (tc.expected_status == SUCCESS) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.