scala@2.*: test without starting the fsc daemon (#37759)

This commit is contained in:
Dale Wijnand 2019-03-10 17:53:41 +00:00 committed by FX Coudert
parent e7c1b4d2c2
commit 6c3fbf76da
2 changed files with 2 additions and 6 deletions

View file

@ -36,9 +36,7 @@ class ScalaAT210 < Formula
} }
EOS EOS
out = shell_output("#{bin}/scala #{file}").strip out = shell_output("#{bin}/scala -nc #{file}").strip
# Shut down the compile server so as not to break Travis
system bin/"fsc", "-shutdown"
assert_equal "4", out assert_equal "4", out
end end

View file

@ -36,9 +36,7 @@ class ScalaAT211 < Formula
} }
EOS EOS
out = shell_output("#{bin}/scala #{file}").strip out = shell_output("#{bin}/scala -nc #{file}").strip
# Shut down the compile server so as not to break Travis
system bin/"fsc", "-shutdown"
assert_equal "4", out assert_equal "4", out
end end