Unit ok_include_from_parent_dir

Description
Constants

Description

Test using $I to include a file from the parent directory. E.g. mORMot uses this, to include mormot.defines.inc, all along sources.

Overview

Constants

TestSampleInclude = 'OK' ;
TestSampleInclude2 = 'OK' ;

Description

Constants

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.