[Bug] 1 test fails: InterfaceAPI.ContainsRunFunctionWithWorkspaceAndConstantPools
yurivict opened this issue · comments
yuri@FreeBSD commented
/wrkdirs/usr/ports/devel/googletest/work/googletest-1.14.0/googletest/src/gtest-port.cc:719: Failure
Value of: is_valid_
Actual: false
Expected: true
Regular expression "#define TVMGEN_ULTIMATE_CAT_SPOTTER_MY_CONSTANT_POOL_CONSTANT_POOL_DATA \\\
0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, \\\
0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w, 0x\w\w\\\
" is not a valid POSIX Extended regular expression.
/usr/ports/misc/tvm/work/tvm-0.16.0/tests/cpp/target/source/interface_c_test.cc:196: Failure
Value of: header_source
Expected: contains regular expression "#define TVMGEN_ULTIMATE_CAT_SPOTTER_MY_CONSTANT_POOL_CONSTANT_POOL_DATA \\\\\\\n 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, \\\\\\\n 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w, 0x\\w\\w\\\\\\\n"
Actual: "#ifndef TVMGEN_ULTIMATE_CAT_SPOTTER_H_\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_H_\n#include <stdint.h>\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n/*!\n * \\brief Input tensor input size (in bytes) for TVM module \"ultimate_cat_spotter\" \n */\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_INPUT_SIZE 0\n/*!\n * \\brief Output tensor output size (in bytes) for TVM module \"ultimate_cat_spotter\" \n */\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_OUTPUT_SIZE 0\n/*!\n * \\brief Input tensor pointers for TVM module \"ultimate_cat_spotter\" \n */\nstruct tvmgen_ultimate_cat_spotter_inputs {\n void* input;\n};\n\n/*!\n * \\brief Output tensor pointers for TVM module \"ultimate_cat_spotter\" \n */\nstruct tvmgen_ultimate_cat_spotter_outputs {\n void* output;\n};\n\n/*!\n * \\brief Workspace pool pointers for TVM module \"ultimate_cat_spotter\" \n */\nstruct tvmgen_ultimate_cat_spotter_workspace_pools {\n void* my_memory_pool;\n void* my_constant_pool;\n};\n\n/*!\n * \\brief entrypoint function for TVM module \"ultimate_cat_spotter\"\n * \\param inputs Input tensors for the module \n * \\param outputs Output tensors for the module \n * \\param workspace_pools Workspace memory pool pointers for the module \n */\nint32_t tvmgen_ultimate_cat_spotter_run(\n struct tvmgen_ultimate_cat_spotter_inputs* inputs,\n struct tvmgen_ultimate_cat_spotter_outputs* outputs,\n struct tvmgen_ultimate_cat_spotter_workspace_pools* workspace_pools\n);\n/*!\n * \\brief Workspace size for TVM module \"ultimate_cat_spotter\" \n */\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_WORKSPACE_SIZE 0\n/*!\n * \\brief my_memory_pool size for TVM module \"ultimate_cat_spotter\" \n */\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_MY_MEMORY_POOL_WORKSPACE_POOL_SIZE 100000\n/*!\n * \\brief my_constant_pool initialization data for TVM module \"ultimate_cat_spotter\" \n */\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_MY_CONSTANT_POOL_CONSTANT_POOL_SIZE 24\n#define TVMGEN_ULTIMATE_CAT_SPOTTER_MY_CONSTANT_POOL_CONSTANT_POOL_DATA \\\n 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0xfa, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, \\\n 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00\\\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif // TVMGEN_ULTIMATE_CAT_SPOTTER_H_\n"
[ FAILED ] InterfaceAPI.ContainsRunFunctionWithWorkspaceAndConstantPools (1 ms)
Version: 0.16.0
clang-18
FreeBSD 14.0
yuri@FreeBSD commented
Duplicate of #13131