print error locations in test case warnings