Browse Source

Fixed C++ headers test fixture to work with new parser.

pull/146/merge
triton 12 years ago
parent
commit
299b544893
  1. 6
      src/Generator.Tests/HeaderTestFixture.cs

6
src/Generator.Tests/HeaderTestFixture.cs

@ -16,7 +16,13 @@ namespace CppSharp.Generator.Tests @@ -16,7 +16,13 @@ namespace CppSharp.Generator.Tests
Options = new DriverOptions();
var testsPath = LibraryTest.GetTestsDirectory("Native");
#if OLD_PARSER
Options.IncludeDirs.Add(testsPath);
#else
Options.addIncludeDirs(testsPath);
#endif
Options.Headers.Add(file);
Driver = new Driver(Options, new TextDiagnosticPrinter());

Loading…
Cancel
Save