char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
566059a26
char/aliceai-t5-moe
1#include <cstdlib> 2#include <string> 3#include <iostream> 4 5#include "peg-parser/tests.h" 6 7int main (int argc ,char * argv []) { 8testing t (std::cout ); 9if (argc >=2 ) { 10t .set_filter (argv [1 ]); 11 } 12 13const char * verbose = getenv ("LLAMA_TEST_VERBOSE" ); 14if (verbose ) { 15t .verbose = std::string (verbose )== "1" ; 16 } 17 18t .test ("basic" ,test_basic ); 19t .test ("unicode" ,test_unicode ); 20t .test ("json" ,test_json_parser ); 21t .test ("gbnf" ,test_gbnf_generation ); 22t .test ("serialization" ,test_json_serialization ); 23t .test ("python-dict" ,test_python_dict_parser ); 24 25return t .summary (); 26}