Use -target instead of triple and use FileCheck.