mklog: Put detected PR entries before ChangeLogs

contrib/ChangeLog:

	* mklog.py: Put PR entries before all ChangeLog entries
	(will be added to all ChangeLog locations by Daily bump script).
	* test_mklog.py: Test the new behavior.
This commit is contained in:
Martin Liska
2021-05-13 15:12:36 +02:00
parent a451598b2c
commit fef084dc83
2 changed files with 13 additions and 4 deletions

View File

@@ -317,9 +317,10 @@ index 00000000000..dcc8999c446
EXPECTED5 = '''\
PR target/95046 - Vectorize V2SFmode operations
PR target/95046
gcc/testsuite/ChangeLog:
PR target/95046
* gcc.target/i386/pr95046-6.c: New test.
'''
@@ -377,9 +378,11 @@ index 00000000000..f3d6d11e61e
'''
EXPECTED7 = '''\
gcc/testsuite/ChangeLog:
DR 2237
gcc/testsuite/ChangeLog:
* g++.dg/DRs/dr2237.C: New test.
'''