Update the way llvm2cpp tests are done:
authorReid Spencer <rspencer@reidspencer.com>
Wed, 11 Apr 2007 17:56:23 +0000 (17:56 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 11 Apr 2007 17:56:23 +0000 (17:56 +0000)
commit0aac889d71f1800846ce0b1c828ba6755c6512f3
treed33048d62b9d3fbc7c5751212812b775045b0887
parent14f6dbff3018a5d99346a3b14987ab1335e04663
Update the way llvm2cpp tests are done:
1. Make sure bytecode/assembly inputs are always redirected stdin so that
   the module name is <stdin>. This helps not get false negatives when the
   diff is done.
2. Scan the test file to determine if llvm-upgrade needs to be run.
3. Avoid running testings that are XFAIL'd because they'll cause a failure
   when run for llvm2cpp.
4. Get some better error message output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35914 91177308-0d34-0410-b5e6-96231b3b80d8
test/lib/llvm2cpp.exp