Reapply "Add update_test.py script."
authorMichael Kruse <llvm@meinersbur.de>
Mon, 29 Feb 2016 14:58:13 +0000 (14:58 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Mon, 29 Feb 2016 14:58:13 +0000 (14:58 +0000)
commitc0a19b079db3f74e2e3b7190a49123aa2a4520e0
treeb66560e6bbad5096e315f820b7cd37587ee9c632
parent1b625535f0bd8d00a4b6d9fa53a8010c291fd6f3
Reapply "Add update_test.py script."

Originally committed in r261899 and reverted in r262202 due to failing
in out-of-LLVM tree builds.

Replace the use of LLVM_TOOLS_BINARY_DIR by LLVM_TOOLS_DIR which exists
in both, in-tree and out-of-tree builds.

Original commit message:
The script updates a lit test case that uses FileCheck using the actual
output of the 'RUN:'-lines program. Useful when updating test cases due
to expected output changes and diff'ing expected and actual output.

llvm-svn: 262227
polly/test/CMakeLists.txt
polly/test/update_check.py [new file with mode: 0644]