Skip to content

Commit 10564c4

Browse files
committed
WIP
1 parent 8f252b9 commit 10564c4

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

CMakeLists.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -527,24 +527,6 @@ if (MRDOCS_BUILD_TESTS)
527527
set(MRDOCS_SELF_DOC_OUTPUT "${CMAKE_BINARY_DIR}/docs/self-reference")
528528
set(MRDOCS_SELF_DOC_TAGFILE "${MRDOCS_SELF_DOC_OUTPUT}/reference.tag.xml")
529529

530-
add_test(NAME mrdocs-self-doc
531-
COMMAND
532-
mrdocs
533-
"${CMAKE_SOURCE_DIR}/CMakeLists.txt"
534-
"--config=${CMAKE_SOURCE_DIR}/docs/mrdocs.yml"
535-
"--output=${MRDOCS_SELF_DOC_OUTPUT}"
536-
--generator=adoc
537-
"--addons=${CMAKE_SOURCE_DIR}/share/mrdocs/addons"
538-
"--stdlib-includes=${LIBCXX_DIR}"
539-
"--stdlib-includes=${STDLIB_INCLUDE_DIR}"
540-
"--libc-includes=${CMAKE_SOURCE_DIR}/share/mrdocs/headers/libc-stubs"
541-
"--tagfile=${MRDOCS_SELF_DOC_TAGFILE}"
542-
--multipage=true
543-
--concurrency=16
544-
--log-level=debug
545-
$<$<BOOL:${MRDOCS_BUILD_STRICT_TESTS}>:--warn-as-error=true>
546-
)
547-
548530
#-------------------------------------------------
549531
# XML lint
550532
#-------------------------------------------------

util/run_all_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def main() -> None:
392392
"doc warnings promoted to errors when MRDOCS_BUILD_STRICT_TESTS=ON, or stale docs/mrdocs.yml config."
393393
),
394394
}
395-
for name in non_golden_tests or ["mrdocs-unit-tests", "xml-lint", "yaml-schema-check", "mrdocs-self-doc"]:
395+
for name in non_golden_tests or ["mrdocs-unit-tests", "xml-lint", "yaml-schema-check"]:
396396
rc = run_ctest_case(build_dir, name)
397397
if rc != 0:
398398
error(f"Test failed: {name}")

0 commit comments

Comments
 (0)