Bug 29521 - run-webkit-tests: use require instead eval to load DumpRenderTreeSupport module
Summary: run-webkit-tests: use require instead eval to load DumpRenderTreeSupport module
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-19 10:21 PDT by David Kilzer (:ddkilzer)
Modified: 2009-09-20 08:35 PDT (History)
1 user (show)

See Also:


Attachments
Patch v1 (1.29 KB, patch)
2009-09-19 10:21 PDT, David Kilzer (:ddkilzer)
mrowe: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2009-09-19 10:21:04 PDT
Created attachment 39821 [details]
Patch v1

Reviewed by NOBODY (OOPS!).

The require statement is like the use statement, except that it
is run during script execution instead of during the 'BEGIN'
phase.  This makes it possible to change @INC before the require
statement is run.  See 'require' and 'use' in the perlfunc(1)
manpage and 'BEGIN' in perlmod(1) manpage.

* Scripts/run-webkit-tests: Replace eval statement with require
statement.
---
 2 files changed, 16 insertions(+), 1 deletions(-)
Comment 1 David Kilzer (:ddkilzer) 2009-09-20 08:35:27 PDT
Committed r48569: <http://trac.webkit.org/changeset/48569>