Fix diff option conflict in UI test
This commit is contained in:
parent
8a73f50d87
commit
2c66c8f9c6
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ all:
|
||||||
$(RUSTDOC) src/lib.rs --crate-name foobar --crate-type lib --out-dir $(OUTPUT_DIR)
|
$(RUSTDOC) src/lib.rs --crate-name foobar --crate-type lib --out-dir $(OUTPUT_DIR)
|
||||||
|
|
||||||
# Check if everything exactly same
|
# Check if everything exactly same
|
||||||
$(DIFF) -r -q $(OUTPUT_DIR) $(TMP_OUTPUT_DIR)
|
$(DIFF) -r $(OUTPUT_DIR) $(TMP_OUTPUT_DIR)
|
||||||
|
|
||||||
# Generate json doc on the same output
|
# Generate json doc on the same output
|
||||||
$(RUSTDOC) src/lib.rs --crate-name foobar --crate-type lib --out-dir $(OUTPUT_DIR) -Z unstable-options --output-format json
|
$(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:
|
||||||
$(RUSTDOC) src/lib.rs --crate-name foobar --crate-type lib --out-dir $(OUTPUT_DIR) -Z unstable-options --output-format json
|
$(RUSTDOC) src/lib.rs --crate-name foobar --crate-type lib --out-dir $(OUTPUT_DIR) -Z unstable-options --output-format json
|
||||||
|
|
||||||
# Check if all docs(including both json and html formats) are still the same after multiple compilations
|
# Check if all docs(including both json and html formats) are still the same after multiple compilations
|
||||||
$(DIFF) -r -q $(OUTPUT_DIR) $(TMP_OUTPUT_DIR)
|
$(DIFF) -r $(OUTPUT_DIR) $(TMP_OUTPUT_DIR)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue