From 1a99dd007e8f446b1a5662ae1f19c7ae587be77e Mon Sep 17 00:00:00 2001 From: Michael Wetter Date: Tue, 7 Jan 2025 11:18:29 -0800 Subject: [PATCH] Changed error message. Removed sudo --- Buildings/Resources/Scripts/travis/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Buildings/Resources/Scripts/travis/Makefile b/Buildings/Resources/Scripts/travis/Makefile index e1beca50272..404d30dc92f 100644 --- a/Buildings/Resources/Scripts/travis/Makefile +++ b/Buildings/Resources/Scripts/travis/Makefile @@ -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: @@ -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: