mirror of git://gcc.gnu.org/git/gcc.git
test_summary: handle single quotes
2018-03-21 Christophe Lyon <christophe.lyon@linaro.org> * test_summary: Match possible single quotes in configure path. From-SVN: r258706
This commit is contained in:
parent
cc614ac0b6
commit
1e4573c0b7
|
|
@ -1,3 +1,7 @@
|
||||||
|
2018-03-21 Christophe Lyon <christophe.lyon@linaro.org>
|
||||||
|
|
||||||
|
* test_summary: Match possible single quotes in configure path.
|
||||||
|
|
||||||
2018-03-02 Thomas Schwinge <thomas@codesourcery.com>
|
2018-03-02 Thomas Schwinge <thomas@codesourcery.com>
|
||||||
|
|
||||||
* update-copyright.py: Remove "libcilkrts" reference.
|
* update-copyright.py: Remove "libcilkrts" reference.
|
||||||
|
|
|
||||||
|
|
@ -103,14 +103,15 @@ BEGIN {
|
||||||
NR == 1 {
|
NR == 1 {
|
||||||
configflags = $0 " ";
|
configflags = $0 " ";
|
||||||
srcdir = configflags;
|
srcdir = configflags;
|
||||||
sub(/\/configure .*/, "", srcdir);
|
sub(/\/configure\047? .*/, "", srcdir);
|
||||||
|
sub(/^\047/, "", srcdir);
|
||||||
if ( system("test -f " srcdir "/LAST_UPDATED") == 0 ) {
|
if ( system("test -f " srcdir "/LAST_UPDATED") == 0 ) {
|
||||||
printf "LAST_UPDATED: ";
|
printf "LAST_UPDATED: ";
|
||||||
system("tail -1 " srcdir "/LAST_UPDATED");
|
system("tail -1 " srcdir "/LAST_UPDATED");
|
||||||
print "";
|
print "";
|
||||||
}
|
}
|
||||||
|
|
||||||
sub(/^[^ ]*\/configure */, " ", configflags);
|
sub(/^[^ ]*\/configure\047? */, " ", configflags);
|
||||||
sub(/,;t t $/, " ", configflags);
|
sub(/,;t t $/, " ", configflags);
|
||||||
sub(/ --with-gcc-version-trigger=[^ ]* /, " ", configflags);
|
sub(/ --with-gcc-version-trigger=[^ ]* /, " ", configflags);
|
||||||
sub(/ --norecursion /, " ", configflags);
|
sub(/ --norecursion /, " ", configflags);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue