Skip to content

Commit

Permalink
Updated exported function list
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-ni committed Jan 12, 2024
1 parent af2bad1 commit a50fc6e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
20 changes: 14 additions & 6 deletions tests/CMakeTests/testcases/ExportedFunctionList.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"size": 83,
"size": 84,
"signatures": [
{
"id": 0,
Expand Down Expand Up @@ -740,6 +740,14 @@
},
{
"id": 77,
"function_name": "SetLVRTModulePath",
"return_type": "int32_t",
"parameter_list": [
"const char*"
]
},
{
"id": 78,
"function_name": "SetResponseData",
"return_type": "int32_t",
"parameter_list": [
Expand All @@ -748,7 +756,7 @@
]
},
{
"id": 78,
"id": 79,
"function_name": "TryUnpackFromAny",
"return_type": "int32_t",
"parameter_list": [
Expand All @@ -759,7 +767,7 @@
]
},
{
"id": 79,
"id": 80,
"function_name": "UnpackFieldsFromAny",
"return_type": "int32_t",
"parameter_list": [
Expand All @@ -768,7 +776,7 @@
]
},
{
"id": 80,
"id": 81,
"function_name": "UnpackFieldsFromBuffer",
"return_type": "int32_t",
"parameter_list": [
Expand All @@ -777,7 +785,7 @@
]
},
{
"id": 81,
"id": 82,
"function_name": "UnpackFromAny",
"return_type": "int32_t",
"parameter_list": [
Expand All @@ -788,7 +796,7 @@
]
},
{
"id": 82,
"id": 83,
"function_name": "UnpackFromBuffer",
"return_type": "int32_t",
"parameter_list": [
Expand Down
4 changes: 2 additions & 2 deletions tests/CMakeTests/tests/exported_functions_addition_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def read_json(filepath):
cnt = 1
for func in new_function_map.keys():
if old_function_map.get(func) == None:
func_name += " " + str(cnt) + ". " + func + '\n'
func_name += str(cnt) + ")" + func + ' '
cnt += 1

print(f"::warning::You have not added these function in the 'Exported Functions' cmake test:\n{func_name}Please add these function(s) in tests/CMakeTests/testcases/ExportedFunctionList.json")
print(f"::warning::You have not added these function in the 'Exported Functions' cmake test: {func_name}. Please add these function(s) in tests/CMakeTests/testcases/ExportedFunctionList.json")

0 comments on commit a50fc6e

Please sign in to comment.