I found today that:
does not work for quoted paths. An example is a path like this:
The function "IsInIncludePath" does not find files in these quoted paths.
This is especially important since the fix for
ROOT-7226 auto-quotes all interpreter-related paths, so they are all not treated correctly anymore.
I found that using a test-code in our framework which works using the following structure:
1. Load some libraries with ROOT / analysis framework classes inside. 2. Walk through full class-table.
3. Get TClass info for each.
4. Call GetDeclFileName() on these, this should give me the name of the header file as found in include-path during compilation.
5. Call gSystem->IsFileInIncludePath(classHeaderFileName.Data(), &absPath), this should never fail.
I can also try to write up some shorter code for that later if you are interested in having a ROOT-test of that functionality.