I run my FPCUnit tests using the GuiTestRunner on OSC, and when I click on go, I get an error:
[Debugger Exception Notification]
[Break]
Project MarkdownTestProgram raised exception class 'EFCreateError' with message:
Unable to create file \"MarkdownTestProgram.fpcunit.ini\": Read-only file system
At address 1000173E0
[Ignore this exception type]
[Continue]
I'm compiling to the application bundle - I don't seem to have any choice about that? (I can't find any other way that it works).
The problem occurs at this line of code:
FConfStore := TIniFile.Create(ExtractFileNameOnly(ParamStr(0)) + '.fpcunit.ini'); // Prevent ini file names conflict if tests are embedded in application
in GuiTestRunner. I don't have any control over the ini file, and I don't seem to have any options to make that location writeable (finder says that I have read/write access to the folder, but apparently not in practice.
Has anyone else run into this, and figured out what to do?