tvm icon indicating copy to clipboard operation
tvm copied to clipboard

[Bug] Test InterfaceAPI.ContainsRunFunctionWithWorkspaceAndConstantPools fails on FreeBSD

Open yurivict opened this issue 3 years ago • 0 comments
trafficstars

/wrkdirs/usr/ports/devel/googletest/work/googletest-release-1.12.1/googletest/src/gtest-port.cc:714: 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.
/disk-samsung/freebsd-ports/misc/tvm/work/tvm-0.9.0/tests/cpp/target/source/interface_c_test.cc:169: 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 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    0x00, 0x00, 0x00, 0x00, 0x74, 0x33, 0x5f, 0x5f, 0x31, 0x31, 0x30, 0x5f, 0x5f, 0x66, 0x75, 0x6e, \\\n    0x74, 0x76, 0x6d, 0x3a, 0x3a, 0x43, 0x6f, 0x6d\\\n\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif // TVMGEN_ULTIMATE_CAT_SPOTTER_H_\n"
[  FAILED  ] InterfaceAPI.ContainsRunFunctionWithWorkspaceAndConstantPools (0 ms)

Version: 0.9.0 FreeBSD 13.1

yurivict avatar Jul 21 '22 22:07 yurivict