CI Environment

From Qt Wiki
Revision as of 15:47, 5 March 2015 by AutoSpider (talk | contribs) (Convert ExpressionEngine section headers)
Jump to navigation Jump to search
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

CI Environment

This page describes certain aspects of the test environment used in the Qt Project continuous integration system.

Generally, any test which wants to make use of the environment mentioned on this page should first check if the environment is set and skip if it isn't. This allows maximum portability of the tests.

Environment Variables

These environment variables may be set while a test is run.

{background:#009900}. |. Variable |. Description | | QT_TEST_CI | Set to 1 when running in the Qt Project CI. Usage of this variable is generally discouraged, but in certain circumstances it may be the best choice to make a test behave differently in a continuous integration environment - for example, to temporarily exclude from CI a flaky portion of an autotest, while allowing the rest of the autotest to catch regressions as normal. | {background:#ddd}. | QT_TEST_SMALL_FS | The mount point of a small, writable filesystem. This filesystem shall be between 1 and 10MB in size. Tests may fill up this filesystem in order to test handling of "no space left on device" conditions. Warning: there are no guarantees on the filesystem content when a test begins (e.g. it may be empty, or it may be already filled up by a previous test). |

Hostnames

These host names may be set while a test is run; generally via /etc/hosts on Unix and SystemRoot32\drivers\etc\hosts on Windows.

{background:#009900}. |. Hostname |. Description |