Skip to content

Commit

Permalink
Changed error message. Removed sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Jan 7, 2025
1 parent 29637f7 commit 1a99dd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Buildings/Resources/Scripts/travis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ test-openmodelica-spawn-spaces-success:
"simulate(SpawnTest);\n" \
"getErrorString();" > openmod.mos )
@(cd $(TMP) && omc openmod.mos > /dev/null )
@cd $(TMP) && sudo grep -q "The simulation finished successfully." SpawnTest.log
@sudo rm -rf $(TMP)
@cd $(TMP) && grep -q "The simulation finished successfully." SpawnTest.log
@rm -rf $(TMP)
@echo " Success."

test-openmodelica-spawn-spaces-failure:
Expand Down Expand Up @@ -120,8 +120,8 @@ test-openmodelica-spawn-spaces-failure:
"simulate(SpawnTest);\n" \
"getErrorString();" > openmod.mos )
@(cd $(TMP) && omc openmod.mos > /dev/null )
@cd $(TMP) && sudo grep -q "To use EnergyPlus, the Modelica Buildings Library must be installed in a directory that has no spaces." SpawnTest.log
@sudo rm -rf $(TMP)
@cd $(TMP) && grep -q "To run a simulation with EnergyPlus coupling, the working directory must not have spaces." SpawnTest.log
@rm -rf $(TMP)
@echo " Success."

test-dymola-spawn-spaces:
Expand Down

0 comments on commit 1a99dd0

Please sign in to comment.