Changeset 121837 in webkit


Ignore:
Timestamp:
Jul 4, 2012 1:05:18 AM (12 years ago)
Author:
sergio@webkit.org
Message:

[GTK] WebKit2 testing bot unable to find the build directory
https://bugs.webkit.org/show_bug.cgi?id=90523

Reviewed by Carlos Garcia Campos.

The presence of GNUmakefile was used to determine whether a given
directory was a valid build directory or not. That's not correct for
testing bots as we export only the minimum required stuff to run the
tests.

  • gtk/common.py:

(get_build_path.is_valid_build_directory): added an extra check.:

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r121834 r121837  
     12012-07-04  Sergio Villar Senin  <svillar@igalia.com>
     2
     3        [GTK] WebKit2 testing bot unable to find the build directory
     4        https://bugs.webkit.org/show_bug.cgi?id=90523
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        The presence of GNUmakefile was used to determine whether a given
     9        directory was a valid build directory or not. That's not correct for
     10        testing bots as we export only the minimum required stuff to run the
     11        tests.
     12
     13        * gtk/common.py:
     14        (get_build_path.is_valid_build_directory): added an extra check.:
     15
    1162012-07-04  Joe Thomas  <joethomas@motorola.com>
    217
  • trunk/Tools/gtk/common.py

    r116412 r121837  
    4141
    4242    def is_valid_build_directory(path):
    43         return os.path.exists(os.path.join(path, 'GNUmakefile'))
     43        return os.path.exists(os.path.join(path, 'GNUmakefile')) or \
     44            os.path.exists(os.path.join(path, 'Programs', 'DumpRenderTree'))
    4445
    4546    if len(sys.argv[1:]) > 1 and os.path.exists(sys.argv[-1]) and is_valid_build_directory(sys.argv[-1]):
Note: See TracChangeset for help on using the changeset viewer.