Refactor lapack_testing.py script, to fix several shortcomings and moderize the script as a whole
This commit is contained in:
@@ -66,7 +66,7 @@ cblas_testing: cblaslib blaslib
|
||||
lapack_testing: tmglib lapacklib blaslib
|
||||
$(MAKE) -C TESTING/LIN cleanexe
|
||||
$(MAKE) -C TESTING
|
||||
./lapack_testing.py
|
||||
./lapack_testing.py --fail-if-empty --fail-on-unrecognized
|
||||
|
||||
.PHONY: variants_testing
|
||||
variants_testing: tmglib variants lapacklib blaslib
|
||||
|
||||
@@ -21,7 +21,7 @@ if(Python3_EXECUTABLE AND LAPACK_TESTING_USE_PYTHON)
|
||||
add_test(
|
||||
NAME LAPACK_Test_Summary
|
||||
WORKING_DIRECTORY ${LAPACK_BINARY_DIR}
|
||||
COMMAND ${Python3_EXECUTABLE} "lapack_testing.py"
|
||||
COMMAND ${Python3_EXECUTABLE} "lapack_testing.py" "--fail-if-empty" "--fail-on-unrecognized"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
+989
-300
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,24 @@
|
||||
# Python tooling configuration for the repository's Python scripts
|
||||
# (currently only lapack_testing.py). This file intentionally has no
|
||||
# [project]/[build-system] tables: the repository is not a Python package.
|
||||
|
||||
[tool.black]
|
||||
target-version = ["py37"]
|
||||
|
||||
[tool.ty.environment]
|
||||
python-version = "3.7"
|
||||
|
||||
[tool.ty.src]
|
||||
include = ["lapack_testing.py"]
|
||||
|
||||
[tool.basedpyright]
|
||||
pythonVersion = "3.7"
|
||||
typeCheckingMode = "strict"
|
||||
include = ["lapack_testing.py"]
|
||||
|
||||
[tool.pydocstyle]
|
||||
convention = "google"
|
||||
|
||||
[tool.interrogate]
|
||||
fail-under = 100
|
||||
verbose = 1
|
||||
Reference in New Issue
Block a user