I have been attempting to run the test infrastructure locally. Most of the tests are failing with errors like
invalid file path for load. >> ../../tests/test_data_base/common/BlockUniTensor/OriginalBUT.cytnx
With some more investigating, I determined that it is running this code from the directory /home/ian/build/cytnx/tests. That is a subdirectory of my build directory, which is fine - but I have no idea why it would think that the .cytnx files would be located two directories up from there. I guess it should be looking in the source directory.
I have no idea what is different about my setup, I guess maybe people are using a build directory that is inside the source directory?
I have been attempting to run the test infrastructure locally. Most of the tests are failing with errors like
With some more investigating, I determined that it is running this code from the directory
/home/ian/build/cytnx/tests
. That is a subdirectory of my build directory, which is fine - but I have no idea why it would think that the .cytnx files would be located two directories up from there. I guess it should be looking in the source directory.I have no idea what is different about my setup, I guess maybe people are using a build directory that is inside the source directory?