File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
tests/integration_tests/pybinds_tests Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 8383 - name : Set read permissions for .ply file
8484 run : |
8585 icacls ${{github.workspace}}/tests/test_data/roof_quarter.ply /grant Everyone:R
86- icacls ${{github.workspace}}/tests/integration_tests/pybinds_tests/roof_quarter.ply /grant Everyone:R
86+ - name : Verify file path and case sensitivity
87+ run : |
88+ if not exist ${{github.workspace}}/tests/test_data/roof_quarter.ply (
89+ echo "File path or case sensitivity issue"
90+ exit 1
91+ )
92+ - name : Print .ply file content
93+ run : |
94+ type ${{github.workspace}}/tests/test_data/roof_quarter.ply
95+ - name : Compute hash of .ply file
96+ run : |
97+ certutil -hashfile ${{github.workspace}}/tests/test_data/roof_quarter.ply MD5
8798
8899 - name : Run tests with cmake
89100 run : |
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -43,10 +43,7 @@ def test_DFPointCloud_init():
4343
4444def test_DFPointCloud_load_from_PLY ():
4545 pc = dfb .dfb_geometry .DFPointCloud ()
46- # pc.load_from_PLY(get_ply_cloud_roof_quarter_path())
47- path_raw = os .path .join (os .path .dirname (__file__ ), "./roof_quarter.ply" )
48- abs_path = os .path .abspath (path_raw )
49- pc .load_from_PLY (abs_path )
46+ pc .load_from_PLY (get_ply_cloud_roof_quarter_path ())
5047
5148 assert pc .points .__len__ () == 7379 , "DFPointCloud should have 7379 points"
5249 assert pc .normals .__len__ () == 7379 , "DFPointCloud should have 7379 normals"
You can’t perform that action at this time.
0 commit comments