Archived issue #0023970
Ignore dot-paths when searching for data files
Description
When tests search for the data files (with command locate_data_file), if the data path points to repository managed by Git, the procedure looks also into folder .git and sometimes finds where the files with searched names (e.g. 'a1', 'b2'). In general, all paths starting with dot should be excluded from this search.
Public activity
2 archived notes
Participants are labeled by their role within this record.
Subdirectories of .git should be excluded now, please check / review
Dear Commenter 1,
Branch CR23970 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 2 (2 on master)
Windows: 11 (11 on master)
products component :
Linux: 0 (0 on master)
Windows: 63 (63 on master)
Regressions:
No regressions
Improvements:
No improvements
Testing cases:
Not needed
Testing on Linux:
Total MEMORY difference: 366423444 / 366080260
Total CPU difference: 46646.17000000107 / 44999.77000000119
Testing on Windows:
Total MEMORY difference: 416178364 / 416507528
Total CPU difference: 39544.15625 / 35529.015625
There are not differences in images found by testdiff.
Branch CR23970 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 2 (2 on master)
Windows: 11 (11 on master)
products component :
Linux: 0 (0 on master)
Windows: 63 (63 on master)
Regressions:
No regressions
Improvements:
No improvements
Testing cases:
Not needed
Testing on Linux:
Total MEMORY difference: 366423444 / 366080260
Total CPU difference: 46646.17000000107 / 44999.77000000119
Testing on Windows:
Total MEMORY difference: 416178364 / 416507528
Total CPU difference: 39544.15625 / 35529.015625
There are not differences in images found by testdiff.
Related records