[xharness] Document the test loading process a little bit.

This commit is contained in:
Rolf Bjarne Kvinge 2020-07-21 11:12:27 +02:00
Родитель 4a10ba51db
Коммит ba61b68f11
1 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -468,6 +468,18 @@ namespace Xharness {
return mac ? AutoConfigureMac (true) : ConfigureIOS ();
}
// At startup we:
// * Load a list of well-known test projects IOSTestProjects/MacTestProjects. This happens in AutoConfigureIOS/AutoConfigureMac.
// Example projects:
// * introspection
// * dont link, link all, link sdk
// * Each of these test projects can used to generate other platform variations (tvOS, watchOS, macOS full, etc),
// if the the TestProject.GenerateVariations property is true.
// * For the mono-native template project, we generate a compat+unified version of the mono-native template project (in MonoNativeInfo.Convert).
// GenerateVariations is true for mono-native projects, which means we'll generate platform variations.
// * For the BCL tests, we use a BCL test project generator. The BCL test generator generates projects for
// all platforms we're interested in, so we set GenerateVariations to false to avoid generate the platform variations again.
int ConfigureIOS ()
{
var rv = 0;