Skip to content

Commit

Permalink
Ignore newly added (unsupported) onnx test cases (#193)
Browse files Browse the repository at this point in the history
* Ignore newly added (unsupported) onnx test cases

* Clone specific tag

---------

Co-authored-by: Swopper050 <[email protected]>
  • Loading branch information
Swopper050 and Swopper050 authored Jan 29, 2024
1 parent 0085de7 commit d18cfab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ test_ci: ## Run tests using normal test runner for ci output.

test_data: ## Creates test data from the ONNX test module.
rm -R ./test_data; mkdir ./test_data; touch ./test_data/
git clone https://github.com/onnx/onnx.git temp_onnx
git clone --depth 1 --branch v1.15.0 https://github.com/onnx/onnx.git temp_onnx
cp -r temp_onnx/onnx/backend/test/data/node/* ./test_data
rm -Rf temp_onnx

Expand Down
10 changes: 10 additions & 0 deletions ops_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ var ignoredTests = []string{

"test_equal_string", // Unsupported datatype String.
"test_equal_string_broadcast", // Unsupported datatype String.
"test_cast_INT4_to_INT8", // Unsupported datatype INT4.
"test_cast_INT4_to_FLOAT", // Unsupported datatype INT4.
"test_cast_FLOAT_to_INT4", // Unsupported datatype INT4.
"test_cast_FLOAT_to_UINT4", // Unsupported datatype UINT4.
"test_cast_INT4_to_FLOAT16", // Unsupported datatype INT4/FLOAT16.
"test_cast_FLOAT16_to_UINT4", // Unsupported datatype FLOAT16.
"test_cast_FLOAT16_to_INT4", // Unsupported datatype FLOAT16.
"test_cast_UINT4_to_UINT8", // Unsupported datatype UINT4.
"test_cast_UINT4_to_FLOAT", // Unsupported datatype UINT4.
"test_cast_UINT4_to_FLOAT16", // Unsupported datatype UINT4.
"test_cast_FLOAT_to_STRING", // Unsupported datatype STRING.
"test_cast_STRING_to_FLOAT", // Unsupported datatype STRING.
"test_cast_DOUBLE_to_FLOAT16", // Unsupported datatype FLOAT16.
Expand Down

0 comments on commit d18cfab

Please sign in to comment.