Skip to content

Commit 1637c98

Browse files
committed
Add an extra TODO
1 parent 268b373 commit 1637c98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Stack/Build/Execute.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,9 @@ executePlan' plan ee@ExecuteEnv {..} = do
358358
Just kg -> kg
359359
Nothing -> boptsTests eeBuildOpts || boptsBenchmarks eeBuildOpts
360360
concurrentFinal =
361+
-- TODO it probably makes more sense to use a lock for test suites
362+
-- and just have the execution blocked. Turning off all concurrency
363+
-- on finals based on the --test option doesn't fit in well.
361364
if boptsTests eeBuildOpts
362365
then concurrentTests
363366
else True

0 commit comments

Comments
 (0)