This already works. But I have fixed this a little more clearly. Test passed.
$ ./src/test/test_bitcoin test_bitcoin --log_level=test_suite --run_test=versionbits_tests
Running 2 test cases...
Entering test suite "Bitcoin Test Suite"
Entering test suite "versionbits_tests"
Entering test case "versionbits_test"
Leaving test case "versionbits_test"; testing time: 676136mks
Entering test case "versionbits_computeblockversion"
Leaving test case "versionbits_computeblockversion"; testing time: 88436mks
Leaving test suite "versionbits_tests"
Leaving test suite "Bitcoin Test Suite"
*** No errors detected
https://github.com/litecoin-project/litecoin/commit/e838c2797183edca8233ae7753759f0485fc24e3#diff-ce75883cad681c323be9b07fdc4fa286
This already works. But I have fixed this a little more clearly. Test passed.