Add 'skiptests' option to corefx/build.sh#6823
Conversation
We have to wait for a long time even though we don't need to make test files (e.g. *Tests.dll and *Tests.pdb). This patch is to add 'skiptests' option to the existing build.sh of corefx. Sample usage: u14.04$> time ./build.sh managed debug clean verbose skiptests u14.04$> time ./build.sh managed release clean verbose skiptests Signed-off-by: Geunsik Lim geunsik.lim@samsung.com Signed-off-by: Prajwal A N an.prajwal@samsung.com Signed-off-by: MyungJoo Ham myungjoo.ham@samsung.com
|
Let's add "skiptests" option to support optional compilation /cc @stephentoub , @jkotas, @benpye , @myungjoo, @prajwal-aithal |
|
There's another reason for this too: when the build tools version changes, it's not possible to build a single project anymore. You have to kick off the root build instead to grab the new tools/initialize them... |
@Clockwork-Muse Do you mean ./clean.sh ? |
|
@leemgs - it's possible that would work, I haven't tried it (easy to test though). When the new tools version shows up trying to build a single project complains about some other file not being present (one of the .dir or .props, can't recall). So I wouldn't have anticipated something labeled "clean" pulling down the correct version (given how cleaning builds normally just removes all built objects, as near as I understand). |
|
What's the benefit over just using |
@akoeplinger, Good question. When embedded guys try to build |
|
@leemgs what I meant was that But if the option makes the script more consistent with CoreCLR then I think it's worthwhile 👍 |
|
@akoeplinger, Right. That is why. As you mentioned, |
|
LGTM From my own experience, this option is very convenient for people moving accross coreclr/corert and corefx repos. I tend to accidentally run |
|
+1 for consistency between corefx/coreclr build scripts. |
|
LGTM |
Add 'skiptests' option to corefx/build.sh
Add 'skiptests' option to corefx/build.sh Commit migrated from dotnet/corefx@1279775
We have to wait for a long time even though we don't need to make test files
(e.g. *Tests.dll and *Tests.pdb). This patch is to add 'skiptests' option to
the existing build.sh of corefx.
Sample usage:
u14.04$> time ./build.sh managed debug clean verbose skiptests
u14.04$> time ./build.sh managed release clean verbose skiptests
Signed-off-by: Geunsik Lim geunsik.lim@samsung.com
Signed-off-by: Prajwal A N an.prajwal@samsung.com
Signed-off-by: MyungJoo Ham myungjoo.ham@samsung.com