Bug 53181 - Linker tests should run in Release configuration
Summary: Linker tests should run in Release configuration
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Infrastructure (internal) ()
Version: master
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-03-09 10:46 UTC by Marek Safar
Modified: 2018-02-05 11:46 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Marek Safar 2017-03-09 10:46:57 UTC
instead of Debug (or both) as most IL tests will behave quite differently.

Note: Most linker .csproj files have wrong Release configuration as well (disabled Optimize)
Comment 1 Vincent Dondain [MSFT] 2017-03-10 18:17:29 UTC
Hi Marek,

I'm not sure I understand your request.

You're talking about the linker tests right so "link all", "link sdk"?

You can run those in release mode with the test solution though.

So are you talking about running them in release mode on wrench/jenkins?
Comment 2 Marek Safar 2017-03-10 18:21:06 UTC
Yes, I am talking about running right configuration on Jenkins/Wrench
Comment 3 Vincent Dondain [MSFT] 2017-03-10 18:37:38 UTC
Ok seems legit, marking this bug as confirmed.

Let's make the linker tests run in release mode on the bots.
Comment 4 Vincent Dondain [MSFT] 2017-03-10 18:38:20 UTC
@sebastien any thoughts on that?
Comment 5 Sebastien Pouliot 2018-01-24 02:18:24 UTC
The linker tests builds on release on the bots with devices since some of the optimizations can only be verified while running on device.

We might revisit that soon it's now cheaper (tests builds/execute in parallel) and we're both updating the optimizations and the bot setup (for device testing), c.c. Rolf
Comment 6 Rolf Bjarne Kvinge [MSFT] 2018-01-24 11:35:43 UTC
Running linker tests in both debug & release for the simulator should be trivial to implement now, I'll have a look.
Comment 7 Rolf Bjarne Kvinge [MSFT] 2018-01-31 09:57:31 UTC
https://github.com/xamarin/xamarin-macios/pull/3363