Browse Source

Improved generator test runner to find tests in embedded setup.

pull/787/head
Joao Matos 8 years ago
parent
commit
46e697b0fb
  1. 5
      src/Generator.Tests/GeneratorTest.cs

5
src/Generator.Tests/GeneratorTest.cs

@ -70,6 +70,11 @@ namespace CppSharp.Utils @@ -70,6 +70,11 @@ namespace CppSharp.Utils
{
var path = Path.Combine(directory.FullName, "tests", name);
if (Directory.Exists(path))
return path;
path = Path.Combine(directory.FullName, "external", "CppSharp", "tests", name);
if (Directory.Exists(path))
return path;

Loading…
Cancel
Save