Tests: Fix CMakeLib.testRST for relative __FILE__

Pass the test input directory as a runtime argument instead of
depending on __FILE__ to locate it.
Merge topic 'testRST-no-preprocessor-FILE' into next

218699eb Tests: Fix CMakeLib.testRST for relative __FILE__