This prevents make check from complaining about a non-exist
On fresh checkout, "make check" after cmake fails because the directory "test/data" doesn't exists (at least on my config; I am a bit new to cmake):
git clone ... mkdir build cd build cmake .. make check >> Error
Next time please make sure you report what the error actualy is. I had to run it all manually to figure out what you where running into.
If you are going to create that new folder, you should move the logic processing what's in it in the proper CMakeFile.txt
Alternatively, you can just add a command to make sure the folder exists in here.
I am sorry but I am not quite sure how. The logic is processing files in src/test but using some files in src/test/data. So I can't really move it to test.
Isn't that what I am doing? Is there a better way?