Keep tests/fork-parallel disabled, but add an explanation

See https://github.com/sbt/sbt/issues/3545#issuecomment-353247827
This commit is contained in:
Antonio Cunei 2017-12-21 15:25:24 +01:00
parent db2c54d11d
commit 8c7f93d7a5
1 changed files with 17 additions and 2 deletions

View File

@ -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
# -> check
> clean
> set testForkedParallel := true
> test
> check
> check