I'm trying to get truth 1.0.1 to build in the buildroot, but it's having
a test failure:
[ERROR] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
0.01 s <<< FAILURE! - in
com.google.common.truth.CorrespondenceExceptionStoreTest
[ERROR]
com.google.common.truth.CorrespondenceExceptionStoreTest.describeAsMainCause_notEmpty
Time elapsed: 0.009 s <<< FAILURE!
com.google.common.truth.AssertionErrorWithFacts:
expected to match:
compare\(null, 123\) threw java.lang.NullPointerException\s+at
com\.google\.common\.truth\.TestCorrespondences(.|\n)*\n---
but was:
compare(null, 123) threw java.lang.NullPointerException: Cannot
invoke "java.lang.Integer.intValue()" because "actual" is null
at
com.google.common.truth.TestCorrespondences$3.apply(TestCorrespondences.java:77)
at
com.google.common.truth.TestCorrespondences$3.apply(TestCorrespondences.java:74)
at
com.google.common.truth.Correspondence$FromBinaryPredicate.compare(Correspondence.java:150)
at
com.google.common.truth.Correspondence$FormattingDiffs.compare(Correspondence.java:389)
---
at
com.google.common.truth.CorrespondenceExceptionStoreTest.assertExpectedFacts(CorrespondenceExceptionStoreTest.java:106)
at
com.google.common.truth.CorrespondenceExceptionStoreTest.describeAsMainCause_notEmpty(CorrespondenceExceptionStoreTest.java:64)
[ERROR]
com.google.common.truth.CorrespondenceExceptionStoreTest.describeAsAdditionalInfo_notEmpty
Time elapsed: 0 s <<< FAILURE!
com.google.common.truth.AssertionErrorWithFacts:
expected to match:
compare\(null, 123\) threw java.lang.NullPointerException\s+at
com\.google\.common\.truth\.TestCorrespondences(.|\n)*\n---
but was:
compare(null, 123) threw java.lang.NullPointerException: Cannot
invoke "java.lang.Integer.intValue()" because "actual" is null
at
com.google.common.truth.TestCorrespondences$3.apply(TestCorrespondences.java:77)
at
com.google.common.truth.TestCorrespondences$3.apply(TestCorrespondences.java:74)
at
com.google.common.truth.Correspondence$FromBinaryPredicate.compare(Correspondence.java:150)
at
com.google.common.truth.Correspondence$FormattingDiffs.compare(Correspondence.java:389)
---
at
com.google.common.truth.CorrespondenceExceptionStoreTest.assertExpectedFacts(CorrespondenceExceptionStoreTest.java:106)
at
com.google.common.truth.CorrespondenceExceptionStoreTest.describeAsAdditionalInfo_notEmpty(CorrespondenceExceptionStoreTest.java:79)
but it builds fine in my rawhide VM. But it's not obvious to me what
might be different or what's triggering this. Any help greatly appreciated.
--
Orion Poplawski
he/him/his - surely the least important thing about me
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301
https://www.nwra.com/