Browse Source

Remove dead 32-bit code.

pull/1713/head
Joao Matos 2 years ago
parent
commit
9ea386919b
  1. 9
      src/Generator.Tests/GeneratorTest.cs

9
src/Generator.Tests/GeneratorTest.cs

@ -35,8 +35,7 @@ namespace CppSharp.Utils @@ -35,8 +35,7 @@ namespace CppSharp.Utils
testModule.LibraryName, options.GeneratorKind.ToString());
if (Platform.IsMacOS)
driver.ParserOptions.TargetTriple = Environment.Is64BitProcess ?
"x86_64-apple-darwin" : "i686-apple-darwin";
driver.ParserOptions.TargetTriple = "x86_64-apple-darwin";
var path = Path.GetFullPath(GetTestsDirectory(name));
testModule.IncludeDirs.Add(path);
@ -47,11 +46,11 @@ namespace CppSharp.Utils @@ -47,11 +46,11 @@ namespace CppSharp.Utils
var files = Directory.EnumerateFiles(path, "*.h", SearchOption.AllDirectories);
foreach (var file in files)
{
string includeDir = Path.GetDirectoryName(file);
var includeDir = Path.GetDirectoryName(file);
if (!testModule.IncludeDirs.Contains(includeDir))
{
testModule.IncludeDirs.Add(includeDir);
}
testModule.Headers.Add(Path.GetFileName(file));
}
}

Loading…
Cancel
Save