add trace option to build test