[test] use llvm-config to drive testing in assert mode/debug mode