Skip to content

Commit

Permalink
Switching from executing sim binary .exe under Windows to .bat
Browse files Browse the repository at this point in the history
Because the .bat generated by OpenModelica adjusts the path variable for
the sim binary

Refs #39
  • Loading branch information
pstelzig committed Jul 21, 2024
1 parent 8dc824a commit 83891c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mopyregtest/modelicaregressiontest.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def _run_model(self):

# Modify the simulation template
if platform.system() == 'Windows':
sim_binary = self.model_in_package + ".exe"
sim_binary = self.model_in_package + ".bat"
repl_dict["SIMULATION_BINARY"] = sim_binary
elif platform.system() == 'Linux':
sim_binary = self.model_in_package
Expand Down

0 comments on commit 83891c2

Please sign in to comment.