Skip to content

Conversation

@mandel-macaque
Copy link
Contributor

No description provided.

@mandel-macaque
Copy link
Contributor Author

Since mono-2017-07 is not going to land I create this on 2017-10 with the same changes as PR #2800 that will be closed.

</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.CSharp.targets" />
<ItemGroup>
<EmbeddedResource Include="..\..\..\external\mono\mcs\class\corlib\Test\resources\Resources.es-ES.resx">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these corlib resources really required for the Mono.Data.Tds tests?

Copy link
Contributor Author

@mandel-macaque mandel-macaque Oct 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. For tds we do not need them.

"System.ServiceModel.Web",
"Mono.Data.Sqlite",
"Mono.Data.Tds",
"Mono.Data.Tds",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have "Mono.Data.Tds" twice.

@mandel-macaque mandel-macaque force-pushed the mono-data-tds-tests-2017-10 branch from 115d4dc to 0ee1361 Compare October 17, 2017 16:08
@monojenkins
Copy link
Collaborator

Build failure

<Reference Include="Xamarin.Mac" />
<Reference Include="GuiUnit">
<HintPath>..\..\..\external\guiunit\src\framework\obj\Debug\net-4.5\GuiUnit.exe</HintPath>
<HintPath>..\..\..\external\guiunit\src\framework\obj\Debug\xammac_mobile\GuiUnit.exe</HintPath>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this xammac_mobile?

 $ cat ./System/System-mac.csproj.template | grep GuiUnit
    <Reference Include="GuiUnit">
      <HintPath>..\..\..\external\guiunit\src\framework\obj\Debug\net-4.5\GuiUnit.exe</HintPath>

 cat ./System.Xml/System.Xml-mac.csproj.template | grep GuiUnit
    <Reference Include="GuiUnit">
      <HintPath>..\..\..\external\guiunit\src\framework\obj\Debug\net-4.5\GuiUnit.exe</HintPath>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be a project reference instead, that should solve the problem.

<Reference Include="Xamarin.Mac" />
<Reference Include="Mono.Data.Tds" />
<Reference Include="GuiUnit">
<HintPath>..\..\..\external\guiunit\src\framework\obj\Debug\xammac_mobile\GuiUnit.exe</HintPath>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question here w\ Modern/Mobile as above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, we were having compilation issues in both project because the GuiUnit.exe could not be found, after a tree on the source path we have:

tree -f ../../../external/guiunit/src/framework/ | grep exe
│   ├── ../../../external/guiunit/src/framework/obj/Debug/xammac_mobile/GuiUnit.exe

That is, with the build of the guiunit project we only get the .exe under xammac_mobile. I don't quite know the difference between the /Modern/Mobile but I do know that is the only path with the .exe. Without it, we won't be able to compile the test projects.

@monojenkins
Copy link
Collaborator

Build failure

@mandel-macaque
Copy link
Contributor Author

Failure is due to the test result not being correctly converted to NUnit ones. Adding a bug for that regarding jenkins and assigning it to myself: https://bugzilla.xamarin.com/show_bug.cgi?id=60251

chamons and others added 2 commits October 24, 2017 13:02
dotnet#2912)

* [macos] Fix guiunit error on clean builds by depending on correct copy

- From a clean build making a BCL test would error due to the non-mobile guiunit not being built
- This was because the Makefile-mac.inc target was incorrect
- This was because xharness assumed that non variation based targets were always Modern
- However, BCL tests are Full, not Modern

* Code review change

* Swap to var to reduce diff
@monojenkins
Copy link
Collaborator

Build failure

@monojenkins
Copy link
Collaborator

Build success

@mandel-macaque mandel-macaque merged commit c20703d into dotnet:mono-2017-10 Oct 24, 2017
@mandel-macaque mandel-macaque deleted the mono-data-tds-tests-2017-10 branch October 24, 2017 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-bcl-tests Run the BCL tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants