Bug 79210 - test-webkitpy test_commit_message_for_this_commit fails when not in a WebKit checkout
Summary: test-webkitpy test_commit_message_for_this_commit fails when not in a WebKit ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-22 01:42 PST by Eric Seidel (no email)
Modified: 2012-02-22 01:48 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2012-02-22 01:42:24 PST
test-webkitpy test_commit_message_for_this_commit fails when not in a WebKit checkout

The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
.The current directory (/Users/eseidel) is not a WebKit checkout, using /Projects/WebKit
..................................
======================================================================
ERROR: test_commit_message_for_this_commit (webkitpy.common.checkout.checkout_unittest.CommitMessageForThisCommitTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Projects/WebKit/Tools/Scripts/webkitpy/common/checkout/checkout_unittest.py", line 137, in test_commit_message_for_this_commit
    mock_scm.script_path = real_scm.script_path
AttributeError: 'NoneType' object has no attribute 'script_path'

----------------------------------------------------------------------

It's worked in the past.  Not sure when it regressed.  Normally I run test-webkitpy from inside my checkout, but there is no reason why it shouldn't work outside one. :)
Comment 1 Eric Seidel (no email) 2012-02-22 01:48:18 PST
Looks like this test probably doesn't want to use a real FilesSystem. :)