diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-24 19:27:53 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-24 19:27:53 +0000 |
commit | f106017751732e4baaf3e71170ef4f2bb337848d (patch) | |
tree | 3c15c050ced2749753c4d6f1cf9d3a9b9bd94085 /docs/diff_test_doc.md | |
parent | 76be740a2ab63f21bb42ee3590792fd39edc6a59 (diff) | |
parent | f1fb8167b4ed64feb494fd1ea6a8a619bbb549de (diff) | |
download | bazel-skylib-f106017751732e4baaf3e71170ef4f2bb337848d.tar.gz |
Snap for 8765624 from f1fb8167b4ed64feb494fd1ea6a8a619bbb549de to android13-gs-pixel-5.10-releaseandroid-u-beta-5_r0.7android-u-beta-5_r0.5android-u-beta-5_r0.4android-u-beta-5_r0.3android-u-beta-5_r0.2android-u-beta-5_r0.1android-u-beta-5.2_r0.7android-u-beta-5.2_r0.6android-u-beta-5.2_r0.5android-u-beta-5.2_r0.3android-u-beta-5.2_r0.1android-u-beta-3_r0.5android-u-beta-3_r0.4android-t-qpr2-beta-3.2_r0.4android-14.0.0_r0.24android-13.0.0_r0.94android-13.0.0_r0.65android-13.0.0_r0.63android-gs-tangorpro-5.10-u-beta5.2android-gs-tangorpro-5.10-u-beta5android-gs-raviole-5.10-u-beta5.2android-gs-raviole-5.10-u-beta5android-gs-raviole-5.10-t-qpr2-beta-3.2android-gs-pantah-5.10-u-beta5android-gs-pantah-5.10-u-beta3android-gs-lynx-5.10-u-beta5.2android-gs-lynx-5.10-u-beta5android-gs-lynx-5.10-u-beta3android-gs-felix-5.10-u-beta5.2android-gs-felix-5.10-u-beta5android-gs-bluejay-5.10-u-beta5.2android-gs-bluejay-5.10-u-beta5
Change-Id: Ia0ce9f969778c682312310ecbc9ab7eaa4ada766
Diffstat (limited to 'docs/diff_test_doc.md')
-rwxr-xr-x | docs/diff_test_doc.md | 65 |
1 files changed, 19 insertions, 46 deletions
diff --git a/docs/diff_test_doc.md b/docs/diff_test_doc.md index 07ce8b9..fd62a38 100755 --- a/docs/diff_test_doc.md +++ b/docs/diff_test_doc.md @@ -1,3 +1,13 @@ +<!-- Generated with Stardoc: http://skydoc.bazel.build --> + +A test rule that compares two binary files. + +The rule uses a Bash command (diff) on Linux/macOS/non-Windows, and a cmd.exe +command (fc.exe) on Windows (no Bash is required). + + +<a id="#diff_test"></a> + ## diff_test <pre> @@ -9,51 +19,14 @@ A test that compares two files. The test succeeds if the files' contents match. -### Parameters - -<table class="params-table"> - <colgroup> - <col class="col-param" /> - <col class="col-description" /> - </colgroup> - <tbody> - <tr id="diff_test-name"> - <td><code>name</code></td> - <td> - required. - <p> - The name of the test rule. - </p> - </td> - </tr> - <tr id="diff_test-file1"> - <td><code>file1</code></td> - <td> - required. - <p> - Label of the file to compare to <code>file2</code>. - </p> - </td> - </tr> - <tr id="diff_test-file2"> - <td><code>file2</code></td> - <td> - required. - <p> - Label of the file to compare to <code>file1</code>. - </p> - </td> - </tr> - <tr id="diff_test-kwargs"> - <td><code>kwargs</code></td> - <td> - optional. - <p> - The <a href="https://docs.bazel.build/versions/master/be/common-definitions.html#common-attributes-tests">common attributes for tests</a>. - </p> - </td> - </tr> - </tbody> -</table> +**PARAMETERS** + + +| Name | Description | Default Value | +| :------------- | :------------- | :------------- | +| <a id="diff_test-name"></a>name | The name of the test rule. | none | +| <a id="diff_test-file1"></a>file1 | Label of the file to compare to <code>file2</code>. | none | +| <a id="diff_test-file2"></a>file2 | Label of the file to compare to <code>file1</code>. | none | +| <a id="diff_test-kwargs"></a>kwargs | The <a href="https://docs.bazel.build/versions/main/be/common-definitions.html#common-attributes-tests">common attributes for tests</a>. | none | |