From b3e264a404cc4cfadcda406793d77829f55baf47 Mon Sep 17 00:00:00 2001 From: Jean-Noel Grad Date: Wed, 26 Sep 2018 09:56:57 +0200 Subject: [PATCH] Remove unused CMake tests --- testsuite/cmake/test_doxygen.sh | 23 ----------------------- testsuite/cmake/test_sphinx.sh | 20 -------------------- 2 files changed, 43 deletions(-) delete mode 100755 testsuite/cmake/test_doxygen.sh delete mode 100755 testsuite/cmake/test_sphinx.sh diff --git a/testsuite/cmake/test_doxygen.sh b/testsuite/cmake/test_doxygen.sh deleted file mode 100755 index 18d7898cbd4..00000000000 --- a/testsuite/cmake/test_doxygen.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash - -# load bash unit testing library -source BashUnitTests.sh - -# test Doxygen documentation -function test_Doxygen() { - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/*_8hpp_source.html | wc -l)" "No output for .hpp sources" - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/*_8hpp.html | wc -l)" "No output for C++ headers" - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/*_8cpp_source.html | wc -l)" "No output for .cpp sources" - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/*_8cpp.html | wc -l)" "No output for C++ code" - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/*_8cu_source.html | wc -l)" "No output for .cu sources" - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/*_8cu.html | wc -l)" "No output for C++ CUDA" - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/struct*.html | wc -l)" "No output for C++ structs" - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/class*.html | wc -l)" "No output for C++ classes" - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/namespace*.html | wc -l)" "No output for C++ namespaces" - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/functions_func_*.html | wc -l)" "No output for C++ functions/methods" - assert_non_zero "$(ls @CMAKE_BINARY_DIR@/doc/doxygen/html/functions_vars_*.html | wc -l)" "No output for C++ variables/members" -} - -# run tests -run_test_suite - diff --git a/testsuite/cmake/test_sphinx.sh b/testsuite/cmake/test_sphinx.sh deleted file mode 100755 index 90f6201dfa6..00000000000 --- a/testsuite/cmake/test_sphinx.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -# load bash unit testing library -source BashUnitTests.sh - -# test Sphinx documentation -function test_Sphinx() { - local OUTDIR="install" - for filepath in "@CMAKE_BINARY_DIR@/doc/sphinx/modules.rst" \ - "@CMAKE_BINARY_DIR@/doc/sphinx/html/modules.html" \ - "@CMAKE_BINARY_DIR@/doc/sphinx/html/index.html" \ - ; - do - assert_file_exists "${filepath}" - done -} - -# run tests -run_test_suite -