Skip to content

Commit

Permalink
remove .py extension when copy to build
Browse files Browse the repository at this point in the history
Further remove glob pattern for `*.t.py` tests.
  • Loading branch information
felixschurk committed Apr 25, 2024
1 parent b5a8026 commit 48d08c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ set (pythonTests
)

foreach (python_Test ${pythonTests})
configure_file(${python_Test} "${python_Test}.py" COPYONLY)
configure_file(${python_Test} ${python_Test} COPYONLY)
endforeach(python_Test)

#SET(CMAKE_BUILD_TYPE gcov)
Expand Down
2 changes: 1 addition & 1 deletion test/run_all
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class TestRunner(object):
self._outputq = Queue()

def _find_tests(self):
for test in glob.glob("*.t") + glob.glob("*.t.py"):
for test in glob.glob("*.t")
if os.access(test, os.X_OK):
# Executables only
if self._is_parallelizable(test):
Expand Down

0 comments on commit 48d08c4

Please sign in to comment.