Revert "Fix build error test"

This reverts commit 0358448e9a3c644d3a0213dcb3bd2dd55d31633f.

Change-Id: I3a043ae043328c861ee2f7f9d1b9b01dcd9800f7