Changeset 52702 in webkit


Ignore:
Timestamp:
Jan 3, 2010 10:31:43 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-01-03 Chris Jerdonek <chris.jerdonek@gmail.com>

Reviewed by Eric Seidel.

Added script to test both Perl and Python, and renamed
run-webkit-unittests to test-webkit-python.

https://bugs.webkit.org/show_bug.cgi?id=33045

  • Scripts/VCSUtils_unittest.pl:
    • Tweaked so it can be run from outside Scripts directory.
  • Scripts/run-webkit-unittests: Removed.
    • Renamed to test-webkit-python.
  • Scripts/test-webkit-perl:
    • Tweaked so it can be run from outside Scripts directory.
  • Scripts/test-webkit-python: Copied from Scripts/run-webkit-unittests.
  • Scripts/test-webkit-scripts: Added.
    • Runs both test-webkit-perl and test-webkit-python.
Location:
trunk/WebKitTools
Files:
1 added
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r52701 r52702  
     12010-01-03  Chris Jerdonek  <chris.jerdonek@gmail.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Added script to test both Perl and Python, and renamed
     6        run-webkit-unittests to test-webkit-python.
     7
     8        https://bugs.webkit.org/show_bug.cgi?id=33045
     9
     10        * Scripts/VCSUtils_unittest.pl:
     11          - Tweaked so it can be run from outside Scripts directory.
     12
     13        * Scripts/run-webkit-unittests: Removed.
     14          - Renamed to test-webkit-python.
     15
     16        * Scripts/test-webkit-perl:
     17          - Tweaked so it can be run from outside Scripts directory.
     18
     19        * Scripts/test-webkit-python: Copied from Scripts/run-webkit-unittests.
     20
     21        * Scripts/test-webkit-scripts: Added.
     22          - Runs both test-webkit-perl and test-webkit-python.
     23
    1242010-01-03  Adam Barth  <abarth@webkit.org>
    225
  • trunk/WebKitTools/Scripts/VCSUtils_unittest.pl

    r52692 r52702  
    3232
    3333use Test::Simple tests => 21;
     34
     35use FindBin;
     36use lib $FindBin::Bin; # so this script can be run from any directory.
    3437
    3538use VCSUtils;
  • trunk/WebKitTools/Scripts/test-webkit-perl

    r52658 r52702  
    3131# Runs unit tests of WebKit Perl code.
    3232
     33use FindBin;
    3334use Test::Harness;
    3435
    35 runtests("VCSUtils_unittest.pl");
     36# Use an absolute path so this script can be run from any directory.
     37$scriptsDir = $FindBin::Bin;
     38$scriptsDir =~ s|/+$||; # Remove trailing '/'
     39
     40runtests("$scriptsDir/VCSUtils_unittest.pl");
Note: See TracChangeset for help on using the changeset viewer.