Closed kratz00 closed 2 years ago
Cool. Much neater with CTest.
Tests should run either with old compression or new, never both as only one should work.
A lot of code duplication (something which can be improved in the future), but so far it should work to extract the Zip files, run the actual tests and clean up afterwards. It should work an all platforms which are supported by CMake, so it should be possible to run the tests on Windows in the future too (once #145 respectively #141 have been taken care of).
I will have a look why unshield is crashing with the Baldurs Gate test files using the old compression.
@twogood I disabled the crashing test for now (see issue #156) to unblock this pull request.
Great work!
Still WIP.
I just wanted to show what I am working on, as you asked about Git LFS in #148
In your CMake workspace run ctest This PR should enable to run the tests cross platform.
TODO:
Btw, trying to extract the Baldurs Gate Cab using the old compression switch crashes unshield (did not look into it yet).