Changeset 34566 in webkit for trunk/JavaScriptCore/tests


Ignore:
Timestamp:
Jun 15, 2008, 3:55:28 AM (17 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

2008-06-15 Maciej Stachowiak <[email protected]>

Reviewed by Oliver.


  • rename testkjs to jsc
  • GNUmakefile.am:
  • JavaScriptCore.vcproj/JavaScriptCore.sln:
  • JavaScriptCore.vcproj/jsc: Added.
  • JavaScriptCore.vcproj/jsc/jsc.vcproj: Copied from JavaScriptCore.vcproj/testkjs/testkjs.vcproj.
  • JavaScriptCore.vcproj/testkjs: Removed.
  • JavaScriptCore.vcproj/testkjs/testkjs.vcproj: Removed.
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • jscore.bkl:
  • kjs/Shell.cpp: Copied from kjs/testkjs.cpp. (main): (printUsageStatement): (jscmain):
  • kjs/jsc.pro: Copied from kjs/testkjs.pro.
  • kjs/testkjs.cpp: Removed.
  • kjs/testkjs.pro: Removed.
  • tests/mozilla/expected.html:
  • tests/mozilla/js1_2/Array/tostring_1.js:
  • tests/mozilla/js1_2/Array/tostring_2.js:
  • tests/mozilla/jsDriver.pl:

WebKitTools:

2008-06-15 Maciej Stachowiak <[email protected]>

Reviewed by Oliver.


  • rename testkjs to jsc
  • Scripts/build-jsc: Copied from Scripts/build-testkjs.
  • Scripts/build-testkjs: Removed.
  • Scripts/run-javascriptcore-tests:
  • Scripts/run-jsc: Copied from Scripts/run-testkjs.
  • Scripts/run-sunspider:
  • Scripts/run-testkjs: Removed.
  • Scripts/sunspider-compare-results:
Location:
trunk/JavaScriptCore/tests/mozilla
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/tests/mozilla/expected.html

    r30871 r34566  
    11<html><head>
    2 <title>Test results, kjs</title>
     2<title>Test results, squirrelfish</title>
    33</head>
    44<body bgcolor='white'>
    55<a name='tippy_top'></a>
    6 <h2>Test results, kjs</h2><br>
     6<h2>Test results, squirrelfish</h2><br>
    77<p class='results_summary'>
    88Test List: All tests<br>
    99Skip List: (none)<br>
    10101135 test(s) selected, 1127 test(s) completed, 51 failures reported (4.52% failed)<br>
    11 Engine command line: /Volumes/Big/ggaren/build/Debug/testkjs <br>
     11Engine command line: /Volumes/Big/ggaren/build/Debug/jsc <br>
    1212OS type: Darwin il0301e-dhcp191.apple.com 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb  5 16:13:22 PST 2008; root:xnu-1228.3.13~1/RELEASE_I386 i386<br>
    1313Testcase execution time: 1 minutes, 50 seconds.<br>
     
    558558<a name='retest_list'></a>
    559559<h2>Retest List</h2><br>
    560 # Retest List, kjs, generated Thu Mar  6 13:53:55 2008.
     560# Retest List, squirrelfish, generated Thu Mar  6 13:53:55 2008.
    561561# Original test base was: All tests.
    562562# 1127 of 1135 test(s) were completed, 51 failures reported.
  • trunk/JavaScriptCore/tests/mozilla/js1_2/Array/tostring_1.js

    r11995 r34566  
    4646    /* This test assumes that if version() exists, it can set the JavaScript
    4747     * interpreter to an arbitrary version. To prevent unhandled exceptions in
    48      * other tests, testkjs implements version() as a stub function, but
     48     * other tests, jsc implements version() as a stub function, but
    4949     * JavaScriptCore doesn't support setting the JavaScript engine's version.
    5050     
  • trunk/JavaScriptCore/tests/mozilla/js1_2/Array/tostring_2.js

    r11995 r34566  
    4545    /* This test assumes that if version() exists, it can set the JavaScript
    4646     * interpreter to an arbitrary version. To prevent unhandled exceptions in
    47      * other tests, testkjs implements version() as a stub function, but
     47     * other tests, jsc implements version() as a stub function, but
    4848     * JavaScriptCore doesn't support setting the JavaScript engine's version.
    4949     
  • trunk/JavaScriptCore/tests/mozilla/jsDriver.pl

    r34180 r34566  
    481481     "(-e|--engine) <type> ...  Specify the type of engine(s) to test.\n" .
    482482     "                          <type> is one or more of\n" .
    483      "                          (kjs|smopt|smdebug|lcopt|lcdebug|xpcshell|" .
     483     "                          (squirrelfish|smopt|smdebug|lcopt|lcdebug|xpcshell|" .
    484484     "rhino|rhinoi|rhinoms|rhinomsi|rhino9|rhinoms9).\n" .
    485485     "(-f|--file) <file>        Redirect output to file named <file>.\n" .
     
    554554        &dd ("getting epimetheus engine command.");
    555555        $retval = &get_ep_engine_command;
    556     } elsif ($opt_engine_type eq "kjs") {
    557         &dd ("getting kjs engine command.");
    558         $retval = &get_kjs_engine_command;
     556    } elsif ($opt_engine_type eq "squirrelfish") {
     557        &dd ("getting squirrelfish engine command.");
     558        $retval = &get_squirrelfish_engine_command;
    559559       
    560560    } else {
     
    634634
    635635#
    636 # get the shell command used to run kjs
    637 #
    638 sub get_kjs_engine_command {
     636# get the shell command used to run squirrelfish
     637#
     638sub get_squirrelfish_engine_command {
    639639    my $retval;
    640640   
     
    645645        $retval = "\"" . $opt_shell_path . "\"";
    646646    } else {
    647         die "Please specify a full path to the kjs testing engine";
     647        die "Please specify a full path to the squirrelfish testing engine";
    648648    }
    649649   
Note: See TracChangeset for help on using the changeset viewer.