Cytnx-dev / Cytnx

Project Cytnx, A Cross-section of Python & C++,Tensor network library
Apache License 2.0
35 stars 14 forks source link

Add cmake configuration for the location of the test data #513

Open ianmccul opened 1 day ago

ianmccul commented 1 day ago

Added CYTNX_TEST_DATA_DIR variable for the location of the test data root directory

Update all tests that reference the test data directory to load data from CYTNX_TEST_DATA_DIR

ianmccul commented 1 day ago

Updated version passes all tests locally

yingjerkao commented 7 hours ago

In the old uni10 days, the tests and related files are installed in a test subdirectory so that the CTEST can be run separately. This install location can be set in the main CmakeLIst.txt.

ianmccul commented 4 hours ago

I have no idea about the codecov test, it doesn't appear to be anything to do with the changes in the patch