add script for checking output from buildtest