Skip to content

Commit c07db62

Browse files
committed
prepare-Changelog shouldn't put No new tests if JSTests is updated
https://bugs.webkit.org/show_bug.cgi?id=298811 Reviewed by Yusuke Suzuki. This patch changes `prepare-Changelog` does not put `No new tests` if a file is added to `JSTests`. * Tools/Scripts/prepare-ChangeLog: (generateFileList): Canonical link: https://commits.webkit.org/299942@main
1 parent 7b5547b commit c07db62

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Tools/Scripts/prepare-ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2160,6 +2160,11 @@ sub generateFileList(\%$$$\%)
21602160
&& $file !~ /-expected(-mismatch)?\.html$/
21612161
&& !scalar(grep(/^resources$/i, @components))
21622162
&& !scalar(grep(/^script-tests$/i, @components));
2163+
} elsif ($components[0] eq "JSTests") {
2164+
push @addedRegressionTests, $file
2165+
if isAddedStatus($status)
2166+
&& $file =~ /\.js$/
2167+
&& !scalar(grep(/^resources$/i, @components));
21632168
} elsif (attributeCommand($attributeCache, $file, "test")) {
21642169
push @addedRegressionTests, $file;
21652170
} elsif (attributeCommand($attributeCache, $file, "requiresTests")) {

0 commit comments

Comments
 (0)