buildinfo: add func TestingLinked

Change-Id: I664f72ec04748079929d0ad96e24b33bc14c6c77