-
Notifications
You must be signed in to change notification settings - Fork 1
Description
There are two tests in sparse_shape.cpp file which fail for Clang Build (but works fine for GCC build)
- At line 33
- At line 191
This needs to be fixed.
ERROR MESSAGE*********
test 1
Start 1: test_tensorwrapper
1: Test command: /home/runner/work/TensorWrapper/TensorWrapper/build/test_tensorwrapper
1: Working Directory: /home/runner/work/TensorWrapper/TensorWrapper/build
1: Test timeout computed to be: 1500
1:
1: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1: test_tensorwrapper is a Catch v2.13.10 host application.
1: Run with -? for options
1:
1: -------------------------------------------------------------------------------
1: SparseShapefield::Scalar
1: -------------------------------------------------------------------------------
1: /home/runner/work/TensorWrapper/TensorWrapper/tests/tensor/shapes/sparse_shape.cpp:33
1: ...............................................................................
1:
1: /home/runner/work/TensorWrapper/TensorWrapper/tests/tensor/shapes/sparse_shape.cpp:33: FAILED:
1: due to unexpected exception with message:
1: SparseMap not consistent with idx2mode
1:
1: -------------------------------------------------------------------------------
1: SparseShapefield::Tensor
1: -------------------------------------------------------------------------------
1: /home/runner/work/TensorWrapper/TensorWrapper/tests/tensor/shapes/sparse_shape.cpp:191
1: ...............................................................................
1:
1: /home/runner/work/TensorWrapper/TensorWrapper/tests/tensor/shapes/sparse_shape.cpp:191: FAILED:
1: due to unexpected exception with message:
1: SparseMap not consistent with idx2mode
1:
1: ===============================================================================
1: test cases: 120 | 118 passed | 2 failed
1: assertions: 4332 | 4330 passed | 2 failed
1:
1/1 Test #1: test_tensorwrapper ...............***Failed 1.53 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 1.58 sec
Errors while running CTest
Output from these tests are in: /home/runner/work/TensorWrapper/TensorWrapper/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
The following tests FAILED:
1 - test_tensorwrapper (Failed)
Error: Process completed with exit code 8.