Skip to content

Commit f8e53a9

Browse files
authored
[clang-doc] Precommit end-to-end test for --repository option (#122565)
We test the `--repository` output in the unit tests, but that option fails to change the HTML output in the end-to-end tests. Upcoming patches will address the incorrect behavior.
1 parent a183184 commit f8e53a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang-tools-extra/test/clang-doc/basic-project.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: rm -rf %t && mkdir -p %t/docs %t/build
22
// RUN: sed 's|$test_dir|%/S|g' %S/Inputs/basic-project/database_template.json > %t/build/compile_commands.json
3-
// RUN: clang-doc --format=html --output=%t/docs --executor=all-TUs %t/build/compile_commands.json
3+
// RUN: clang-doc --format=html --output=%t/docs --executor=all-TUs %t/build/compile_commands.json --repository=https://repository.com
44
// RUN: FileCheck %s -input-file=%t/docs/index_json.js -check-prefix=JSON-INDEX
55
// RUN: FileCheck %s -input-file=%t/docs/GlobalNamespace/Shape.html -check-prefix=HTML-SHAPE
66
// RUN: FileCheck %s -input-file=%t/docs/GlobalNamespace/Calculator.html -check-prefix=HTML-CALC
@@ -286,4 +286,4 @@
286286
// MD-ALL-FILES: ## [GlobalNamespace](GlobalNamespace{{[\/]}}index.md)
287287

288288
// MD-INDEX: # C/C++ Reference
289-
// MD-INDEX: * Namespace: [GlobalNamespace](GlobalNamespace)
289+
// MD-INDEX: * Namespace: [GlobalNamespace](GlobalNamespace)

0 commit comments

Comments
 (0)