Title: [231602] trunk/Tools
Revision
231602
Author
[email protected]
Date
2018-05-09 15:22:12 -0700 (Wed, 09 May 2018)

Log Message

Test262-Runner: Improve the verbose output
https://bugs.webkit.org/show_bug.cgi?id=185491

Patch by Leo Balter <[email protected]> on 2018-05-09
Reviewed by Michael Saboff.

* Scripts/test262/Import.pm:
(transferFiles):
* Scripts/test262/Runner.pm:
(processResult):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (231601 => 231602)


--- trunk/Tools/ChangeLog	2018-05-09 22:18:36 UTC (rev 231601)
+++ trunk/Tools/ChangeLog	2018-05-09 22:22:12 UTC (rev 231602)
@@ -1,5 +1,17 @@
 2018-05-09  Leo Balter  <[email protected]>
 
+        Test262-Runner: Improve the verbose output
+        https://bugs.webkit.org/show_bug.cgi?id=185491
+
+        Reviewed by Michael Saboff.
+
+        * Scripts/test262/Import.pm:
+        (transferFiles):
+        * Scripts/test262/Runner.pm:
+        (processResult):
+
+2018-05-09  Leo Balter  <[email protected]>
+
         Fix Test262 Runner to have DYLD_FRAMEWORK_PATH always set
         https://bugs.webkit.org/show_bug.cgi?id=185488
 

Modified: trunk/Tools/Scripts/test262/Import.pm (231601 => 231602)


--- trunk/Tools/Scripts/test262/Import.pm	2018-05-09 22:18:36 UTC (rev 231601)
+++ trunk/Tools/Scripts/test262/Import.pm	2018-05-09 22:22:12 UTC (rev 231602)
@@ -159,8 +159,8 @@
     printAndRun("rm -rf $test262Dir\/test") if -e "$test262Dir/test";
 
     # Copy from source
-    printAndRun("cp -r $sourceDir\/harness $test262Dir");
-    printAndRun("cp -r $sourceDir\/test $test262Dir");
+    printAndRun("mv $sourceDir\/harness $test262Dir");
+    printAndRun("mv $sourceDir\/test $test262Dir");
 }
 
 sub getRevision {

Modified: trunk/Tools/Scripts/test262/Runner.pm (231601 => 231602)


--- trunk/Tools/Scripts/test262/Runner.pm	2018-05-09 22:18:36 UTC (rev 231601)
+++ trunk/Tools/Scripts/test262/Runner.pm	2018-05-09 22:22:12 UTC (rev 231602)
@@ -646,12 +646,13 @@
         # or the failure is new.
         my $printfailure = !$expect || $isnewfailure;
 
-        print "! NEW " if $isnewfailure;
-        print "FAIL $file ($scenario)\n" if $printfailure;
         if ($verbose) {
-            print $result;
+            print "! NEW FAIL $file ($scenario)\n$result";
             print "\nFeatures: " . join(', ', @{ $data->{features} }) if $data->{features};
             print "\n\n";
+        } else {
+            print "! NEW " if $isnewfailure;
+            print "FAIL $file ($scenario)\n" if $printfailure;
         }
 
         $resultdata{result} = 'FAIL';
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to