Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Reorganized integration tests to match unit test structure.
  • Loading branch information
BryanRumsey committed Apr 27, 2023
commit 4ce10e3d5ca353282d21cd11434021cb89f7d7d1
Empty file.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def test_solver_expressions(self):
Ensure that expression conversions to C++ result in (roughly) equivalent values as Python.
"""
tmpdir = tempfile.mkdtemp()
src_path = os.path.join(os.path.dirname(__file__), "assets", "evaluate.c")
src_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), "assets", "evaluate.c")
exe_path = os.path.join(tmpdir, "test")

def build(expr_args: "list[str]", expr_str: "str", use_bool=False):
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions test/run_integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
print('Running tests in develop mode. Appending repository directory to system path.')
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))

import test_model
import test_solver
#import test_mincde
from integration_tests import test_model
from integration_tests import test_solver
#from integration_tests import test_mincde

modules = [
test_model,
Expand Down