Skip to content

Commit 20f063b

Browse files
committed
Debug test failures
1 parent 8dcd301 commit 20f063b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/main/scala/seed/process/ProcessHelper.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ object ProcessHelper {
113113
)(args: String*): Process =
114114
runCommmand(
115115
cwd,
116-
List("bloop") ++ args,
116+
List("bloop") ++ args ++ List("--verbose"),
117117
modulePath,
118118
buildPath,
119119
log,

src/test/scala/seed/generation/BloopIntegrationSpec.scala

+4-4
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ object BloopIntegrationSpec extends TestSuite[Unit] {
7373
resolvers,
7474
build,
7575
Command.Bloop(packageConfig),
76-
Log.urgent
76+
Log.debug
7777
)
7878

7979
val bloopBuildPath = buildPath.resolve("build").resolve("bloop")
@@ -112,7 +112,7 @@ object BloopIntegrationSpec extends TestSuite[Unit] {
112112
resolvers,
113113
build,
114114
Command.Bloop(packageConfig),
115-
Log.urgent
115+
Log.debug
116116
)
117117
compileAndRun(buildPath)
118118
}
@@ -132,7 +132,7 @@ object BloopIntegrationSpec extends TestSuite[Unit] {
132132
resolvers,
133133
build,
134134
Command.Bloop(packageConfig),
135-
Log.urgent
135+
Log.debug
136136
)
137137
compileAndRun(buildPath)
138138
}
@@ -358,7 +358,7 @@ object BloopIntegrationSpec extends TestSuite[Unit] {
358358
resolvers,
359359
build,
360360
Command.Bloop(packageConfig),
361-
Log.urgent
361+
Log.debug
362362
)
363363

364364
TestProcessHelper

src/test/scala/seed/generation/util/TestProcessHelper.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ object TestProcessHelper {
2020
def runBloop(cwd: Path)(args: String*): Future[String] = {
2121
val sb = new StringBuilder
2222
val process =
23-
ProcessHelper.runBloop(cwd, Log.urgent, out => sb.append(out + "\n"))(
23+
ProcessHelper.runBloop(cwd, Log.debug, out => sb.append(out + "\n"))(
2424
args: _*
2525
)
2626
RTS.unsafeRunToFuture(process).map(_ => sb.toString)

0 commit comments

Comments
 (0)