byte-physics / igortest

Igor Pro Universal Testing Framework
https://docs.byte-physics.de/igor-unit-testing-framework/
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

Use cached home path for accessing files #394

Closed Garados007 closed 1 year ago

Garados007 commented 1 year ago

At the start of RunTest the current home directory of the experiment file is fetched and cached in a global string. If for some reasons a test case changed to current home directory (for example storing the experiment file elsewhere) all UTF functions will still use the old home directory.

Close #287

Garados007 commented 1 year ago

@t-b @MichaelHuth Ready for review.

Garados007 commented 1 year ago

@MichaelHuth I have implemented your suggestion. The commit has changed a bit. Please review again.