Changeset 252791 in webkit


Ignore:
Timestamp:
Nov 22, 2019, 12:06:19 PM (6 years ago)
Author:
Jonathan Bedard
Message:

run-javascriptcore-tests: Failure to determine configuration for reporting is fatal
https://bugs.webkit.org/show_bug.cgi?id=204526

Reviewed by Aakash Jain.

  • Scripts/run-javascriptcore-tests:

(configurationForUpload): Return empty hash if no configuration is available.
(uploadResults): Soft-fail upload if configuration is empty.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r252788 r252791  
     12019-11-22  Jonathan Bedard  <jbedard@apple.com>
     2
     3        run-javascriptcore-tests: Failure to determine configuration for reporting is fatal
     4        https://bugs.webkit.org/show_bug.cgi?id=204526
     5
     6        Reviewed by Aakash Jain.
     7
     8        * Scripts/run-javascriptcore-tests:
     9        (configurationForUpload): Return empty hash if no configuration is available.
     10        (uploadResults): Soft-fail upload if configuration is empty.
     11
    1122019-11-22  Aakash Jain  <aakash_jain@apple.com>
    213
  • trunk/Tools/Scripts/run-javascriptcore-tests

    r252781 r252791  
    421421        }
    422422    } else {
    423         die "Cannot determine platform\n";
     423        print "Cannot determine platform\n";
     424        return {};
    424425    }
    425426
     
    460461
    461462setConfigurationProductDir(Cwd::abs_path($root)) if (defined($root));
    462 configurationForUpload() if (defined($report));
    463463
    464464if (defined($jsonFileName)) {
     
    877877    }
    878878
     879    my $configuration = configurationForUpload();
     880    if (!keys $configuration) {
     881        print "Invalid configuration, failed to upload to $report\n";
     882        return 1;
     883    }
     884
    879885    my %upload = (
    880886        version => 0,
     
    886892            id => determineCurrentSVNRevision(),
    887893        }],
    888         configuration => configurationForUpload(),
     894        configuration => $configuration,
    889895        test_results => {
    890896            run_stats => {
Note: See TracChangeset for help on using the changeset viewer.