New test environments: Difference between revisions

Jump to navigation Jump to search
→‎Test configuration: reorganize the sentences
(→‎Example: newline)
(→‎Test configuration: reorganize the sentences)
Line 136: Line 136:
* taskcluster/ci/test/test-sets.yml
* taskcluster/ci/test/test-sets.yml


The following is an example platform where the full suite of desktop Firefox tests are run, and thus the list of defined tests are long. Depending on the nature of the platform, the list may not be as extensive.
The following is an example platform where the full suite of desktop Firefox tests are run, and thus the list of defined tests are long. Depending on the nature of the platform, the list of tests will vary.


Example <code>test-sets.yml</code>:
Example <code>test-sets.yml</code>:
Line 190: Line 190:
</source>
</source>


Exact list of tests will vary depending on the platform. It is not possible to run <code>cppunit</code> on android platforms, for example.
''<small>Exact list of tests will vary depending on the platform. It is not possible to run <code>cppunit</code> on android platforms, for example.</small>''


Pay attention to the <code>build-platform</code> attribute; this should match the build name chosen in the previous step.
Note that:


Ensure the taskgraph can be generated with the new test platform added.
* list of tests defined in <code>test-sets.yml</code> is used in <code>test-platforms.yml</code>
* <code>build-platform</code> attribute in <code>test-platforms.yml</code> should match the build name chosen in the previous step


=== Example ===
=== Example ===
Line 203: Line 204:
=== Checklist ===
=== Checklist ===


* does <code>./mach taskgraph full</code> succeed if new platform is added?
* does <code>./mach taskgraph full</code> succeed with test sets and test platforms defined?
* do the tests show up in the try fuzzy selector?
* do the tests show up in the try fuzzy selector?
75

edits

Navigation menu