Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion reference/command-line-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,12 @@ This option affects semantics of the Starlark language or the build API accessib
Tags:
[`loading_and_analysis`](#effect_tag_LOADING_AND_ANALYSIS), [`incompatible_change`](#metadata_tag_INCOMPATIBLE_CHANGE)

`--[no]incompatible_stop_exporting_language_modules` default: "false"
: If enabled, certain language-specific modules (such as `cc_common`) are unavailable in user .bzl files and may only be called from their respective rules repositories.

Tags:
[`loading_and_analysis`](#effect_tag_LOADING_AND_ANALYSIS), [`incompatible_change`](#metadata_tag_INCOMPATIBLE_CHANGE)

`--[no]incompatible_unambiguous_label_stringification` default: "true"
: When true, Bazel will stringify the label @//foo:bar to @//foo:bar, instead of //foo:bar. This only affects the behavior of str(), the % operator, and so on; the behavior of repr() is unchanged. See https://github.com/bazelbuild/bazel/issues/15916 for more information.

Expand Down Expand Up @@ -3500,6 +3506,12 @@ Miscellaneous options, not otherwise categorized.:
`--test_filter=<a string>` default: see description
: Specifies a filter to forward to the test framework. Used to limit the tests run. Note that this does not affect which targets are built.

`--test_result_expiration=<an integer>` default: "-1"
: This option is deprecated and has no effect.

Tags:
[`deprecated`](#metadata_tag_DEPRECATED)

`--[no]test_runner_fail_fast` default: "false"
: Forwards fail fast option to the test runner. The test runner should stop execution upon first failure.

Expand Down Expand Up @@ -3646,7 +3658,7 @@ Options that control build execution:
[`execution`](#effect_tag_EXECUTION)

`--experimental_sandbox_limits=<a named double, 'name=value', where value is an integer, or a keyword ("HOST_CPUS", "HOST_RAM"), optionally followed by an operation ([-|*]<float>) eg. "HOST_CPUS", "HOST_CPUS*.5">` multiple uses are accumulated
: If &gt; 0, each Linux sandbox will be limited to the given amount for the specified resource. This overrides --experimental_sandbox_memory_limit_mb. Requires cgroups v1 or v2 and permissions for the users to the cgroups dir.
: If &gt; 0, each Linux sandbox will be limited to the given amount for the specified resource. Requires --incompatible_use_new_cgroup_implementation and overrides --experimental_sandbox_memory_limit_mb. Requires cgroups v1 or v2 and permissions for the users to the cgroups dir.

Tags:
[`execution`](#effect_tag_EXECUTION)
Expand Down Expand Up @@ -3741,6 +3753,12 @@ Options that control build execution:
Tags:
[`execution`](#effect_tag_EXECUTION)

`--[no]incompatible_use_new_cgroup_implementation` default: "true"
: If true, use the new implementation for cgroups. The old implementation only supports the memory controller and ignores the value of --experimental_sandbox_limits.

Tags:
[`execution`](#effect_tag_EXECUTION)

`--[no]internal_spawn_scheduler` default: "true"
: Placeholder option so that we can tell in Blaze whether the spawn scheduler was enabled.

Expand Down Expand Up @@ -6124,6 +6142,12 @@ Miscellaneous options, not otherwise categorized.:
`--test_filter=<a string>` default: see description
: Specifies a filter to forward to the test framework. Used to limit the tests run. Note that this does not affect which targets are built.

`--test_result_expiration=<an integer>` default: "-1"
: This option is deprecated and has no effect.

Tags:
[`deprecated`](#metadata_tag_DEPRECATED)

`--[no]test_runner_fail_fast` default: "false"
: Forwards fail fast option to the test runner. The test runner should stop execution upon first failure.

Expand Down Expand Up @@ -7893,6 +7917,12 @@ Miscellaneous options, not otherwise categorized.:
`--test_filter=<a string>` default: see description
: Specifies a filter to forward to the test framework. Used to limit the tests run. Note that this does not affect which targets are built.

`--test_result_expiration=<an integer>` default: "-1"
: This option is deprecated and has no effect.

Tags:
[`deprecated`](#metadata_tag_DEPRECATED)

`--[no]test_runner_fail_fast` default: "false"
: Forwards fail fast option to the test runner. The test runner should stop execution upon first failure.

Expand Down Expand Up @@ -9495,6 +9525,12 @@ Miscellaneous options, not otherwise categorized.:
`--test_filter=<a string>` default: see description
: Specifies a filter to forward to the test framework. Used to limit the tests run. Note that this does not affect which targets are built.

`--test_result_expiration=<an integer>` default: "-1"
: This option is deprecated and has no effect.

Tags:
[`deprecated`](#metadata_tag_DEPRECATED)

`--[no]test_runner_fail_fast` default: "false"
: Forwards fail fast option to the test runner. The test runner should stop execution upon first failure.

Expand Down Expand Up @@ -12443,6 +12479,12 @@ Miscellaneous options, not otherwise categorized.:
`--test_filter=<a string>` default: see description
: Specifies a filter to forward to the test framework. Used to limit the tests run. Note that this does not affect which targets are built.

`--test_result_expiration=<an integer>` default: "-1"
: This option is deprecated and has no effect.

Tags:
[`deprecated`](#metadata_tag_DEPRECATED)

`--[no]test_runner_fail_fast` default: "false"
: Forwards fail fast option to the test runner. The test runner should stop execution upon first failure.

Expand Down
2 changes: 1 addition & 1 deletion reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd"
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd"
class="external">JUnit test result schema</a>.
</td>
<td>optional</td>
Expand Down
2 changes: 1 addition & 1 deletion upstream
Submodule upstream updated 120 files
2 changes: 1 addition & 1 deletion versions/7.6.1/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd">
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd">
JUnit test result schema
</a>
</td>
Expand Down
2 changes: 1 addition & 1 deletion versions/7.7.1/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ The initial environment block shall be composed as follows:
</tr>
<tr>
<td><code>XML_OUTPUT_FILE</code></td>
<td>Location to which test actions should write a test result XML output file. Otherwise, Bazel generates a default XML output file wrapping the test log as part of the test action. The XML schema is based on the <a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd" class="external">JUnit test result schema</a>.</td>
<td>Location to which test actions should write a test result XML output file. Otherwise, Bazel generates a default XML output file wrapping the test log as part of the test action. The XML schema is based on the <a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd" class="external">JUnit test result schema</a>.</td>
<td>optional</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion versions/8.0.1/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd"
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd"
class="external">JUnit test result schema</a>.
</td>
<td>optional</td>
Expand Down
2 changes: 1 addition & 1 deletion versions/8.1.1/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd"
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd"
class="external">JUnit test result schema</a>.
</td>
<td>optional</td>
Expand Down
2 changes: 1 addition & 1 deletion versions/8.2.1/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd"
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd"
class="external">JUnit test result schema</a>.
</td>
<td>optional</td>
Expand Down
2 changes: 1 addition & 1 deletion versions/8.3.1/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd" class="external">JUnit test result schema</a>.
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd" class="external">JUnit test result schema</a>.
</td>
<td>optional</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion versions/8.4.2/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd"
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd"
class="external">JUnit test result schema</a>.
</td>
<td>optional</td>
Expand Down
2 changes: 1 addition & 1 deletion versions/8.5.1/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd"
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd"
class="external">JUnit test result schema</a>.
</td>
<td>optional</td>
Expand Down
2 changes: 1 addition & 1 deletion versions/8.6.0/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd"
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd"
class="external">JUnit test result schema</a>.
</td>
<td>optional</td>
Expand Down
2 changes: 1 addition & 1 deletion versions/8.7.0/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd"
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd"
class="external">JUnit test result schema</a>.
</td>
<td>optional</td>
Expand Down
2 changes: 1 addition & 1 deletion versions/9.0.0/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ The initial environment block shall be composed as follows:
Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd"
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd"
class="external">JUnit test result schema</a>.
</td>
<td>optional</td>
Expand Down
2 changes: 1 addition & 1 deletion versions/9.1.0/reference/test-encyclopedia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ The initial environment block shall be composed as follows:
<td>Location to which test actions should write a test result XML output file.
Otherwise, Bazel generates a default XML output file wrapping the test log
as part of the test action. The XML schema is based on the
<a href="https://github.com/windyroad/JUnit-Schema/blob/1.0.0/JUnit.xsd"
<a href="https://windyroad.com.au/dl/Open%20Source/JUnit.xsd"
class="external">JUnit test result schema</a>.</td>
<td>optional</td>
</tr>
Expand Down