Test using $I to include a file from the parent directory. E.g. mORMot uses this, to include mormot.defines.inc, all along sources.
TestSampleInclude = 'OK' ; |
TestSampleInclude2 = 'OK' ; |
TestSampleInclude = 'OK' ; |
|
Include file using Windows backslashes, to make test harder. Should work cross-platform, FPC allows this even on Linux too. |
TestSampleInclude2 = 'OK' ; |
|
Include with (Unix forward) slashes. This is easier test, since / work also on Windos as path separator out-of-the-box. |