Skip to content

Commit d146211

Browse files
authored
Rollup merge of #109036 - chenyukang:yukang/fix-testcase, r=jyn514
Fix diff option conflict in UI test Trivial fix for test case `tests/run-make/rustdoc-verify-output-files`, it's failing on MacOS, the `-u` option specifies the unified context format, while the `-q` option specifies only brief output. These two options are incompatible, since the unified context format produces a more detailed output than the brief output format.
2 parents e4dae0d + 2c66c8f commit d146211

File tree

1 file changed

+2
-2
lines changed
  • tests/run-make/rustdoc-verify-output-files

1 file changed

+2
-2
lines changed

tests/run-make/rustdoc-verify-output-files/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ all:
1414
$(RUSTDOC) src/lib.rs --crate-name foobar --crate-type lib --out-dir $(OUTPUT_DIR)
1515

1616
# Check if everything exactly same
17-
$(DIFF) -r -q $(OUTPUT_DIR) $(TMP_OUTPUT_DIR)
17+
$(DIFF) -r $(OUTPUT_DIR) $(TMP_OUTPUT_DIR)
1818

1919
# Generate json doc on the same output
2020
$(RUSTDOC) src/lib.rs --crate-name foobar --crate-type lib --out-dir $(OUTPUT_DIR) -Z unstable-options --output-format json
@@ -29,4 +29,4 @@ all:
2929
$(RUSTDOC) src/lib.rs --crate-name foobar --crate-type lib --out-dir $(OUTPUT_DIR) -Z unstable-options --output-format json
3030

3131
# Check if all docs(including both json and html formats) are still the same after multiple compilations
32-
$(DIFF) -r -q $(OUTPUT_DIR) $(TMP_OUTPUT_DIR)
32+
$(DIFF) -r $(OUTPUT_DIR) $(TMP_OUTPUT_DIR)

0 commit comments

Comments
 (0)