[polly] r261899 - Add update_test.py script.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 29 04:38:51 PST 2016


2016-02-29 8:30 GMT+01:00 Tobias Grosser <tobias at grosser.es>:
> On 02/25/2016 06:12 PM, Michael Kruse via llvm-commits wrote:
>>
>> Author: meinersbur
>> Date: Thu Feb 25 11:12:12 2016
>> New Revision: 261899
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=261899&view=rev
>> Log:
>> Add update_test.py script.
>>
>> 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
>> expected output changes and diff'ing expected and actual output.
>
>
> Hi Michael,
>
> this commit broke our LNT test builders (which do not send out emails yet).
> I reverted it in https://llvm.org/svn/llvm-project/polly/trunk@262202.
> Please see for a failing build:
>
> http://lab.llvm.org:8011/builders/perf-x86_64-penryn-O3-polly-fast/builds/17616
>
> it got fixed in
>
> http://lab.llvm.org:8011/builders/perf-x86_64-penryn-O3-polly-fast/builds/17617

Only a small fix required to work with out-of-LLVM builds:

@@ -99,7 +99,7 @@ configure_file(
  ${CMAKE_CURRENT_SOURCE_DIR}/update_check.py
  ${CMAKE_CURRENT_BINARY_DIR}/update_check.py)
file(COPY ${CMAKE_CURRENT_BINARY_DIR}/update_check.py
-  DESTINATION ${LLVM_TOOLS_BINARY_DIR}
+  DESTINATION ${LLVM_TOOLS_DIR}
  FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ
  GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)


Michael


More information about the llvm-commits mailing list