Skip to content

Commit

Permalink
Debug info to can locate the moordyn module
Browse files Browse the repository at this point in the history
  • Loading branch information
sanguinariojoe committed Apr 3, 2024
1 parent 46479fb commit 284bd37
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ endif()

if(${PYTHON_WRAPPER})
add_test (NAME python-tests
COMMAND ${Python_EXECUTABLE} -m pytest
COMMAND ${Python_EXECUTABLE} -m pytest -s
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
set_tests_properties(python-tests
Expand Down
3 changes: 3 additions & 0 deletions tests/test_generator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import sys
print('HERE')
print(sys.path)
from unittest import TestCase, main as unittest_main
import moordyn

Expand Down
2 changes: 2 additions & 0 deletions tests/test_minimal.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import sys
print(sys.path)
from unittest import TestCase, main as unittest_main
import os
import tempfile
Expand Down

0 comments on commit 284bd37

Please sign in to comment.