mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 06:07:24 +02:00
Keep tests/fork-parallel disabled, but add an explanation
See https://github.com/sbt/sbt/issues/3545#issuecomment-353247827
This commit is contained in:
@@ -1,8 +1,23 @@
|
|||||||
# https://github.com/sbt/sbt/issues/3545
|
# The tests/fork-parallel test will currently always
|
||||||
|
# report success when run on less than four cores,
|
||||||
|
# rather than failing in one of the two cases as expected.
|
||||||
|
#
|
||||||
|
# TODO: Adjust this scripted test so that it works as
|
||||||
|
# intended on less than four cores as well.
|
||||||
|
#
|
||||||
|
# To debug, it is possible to limit the number of cores
|
||||||
|
# reported to sbt, and run the test, by using:
|
||||||
|
#
|
||||||
|
# taskset 0x00000003 sbt 'scripted tests/fork-parallel'
|
||||||
|
#
|
||||||
|
# See: https://github.com/sbt/sbt/issues/3545
|
||||||
|
#
|
||||||
|
|
||||||
|
# This bit won't currently work when using less than four cores.
|
||||||
# > test
|
# > test
|
||||||
# -> check
|
# -> check
|
||||||
|
|
||||||
> clean
|
> clean
|
||||||
> set testForkedParallel := true
|
> set testForkedParallel := true
|
||||||
> test
|
> test
|
||||||
> check
|
> check
|
||||||
|
|||||||
Reference in New Issue
Block a user