public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/111360] New: contrib/gcc_update: bad test
@ 2023-09-10  9:49 egallager at gcc dot gnu.org
  2023-09-10  9:51 ` [Bug other/111360] " egallager at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: egallager at gcc dot gnu.org @ 2023-09-10  9:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111360

            Bug ID: 111360
           Summary: contrib/gcc_update: bad test
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: egallager at gcc dot gnu.org
  Target Milestone: ---

Running contrib/gcc_update on the gcc111 machine on the compile farm includes
the following message in its output:

./contrib/gcc_update[346]: test: argument expected

The line in question has:

        if test -n $r; then

Shouldn't the "${r}" be quoted or something? Or maybe the issue is actually
that the command to set it on the previous lines is failing; it's set like
this:

        # Open-coded version of "git gcc-descr" from
contrib/gcc-git-customization.sh
        revision=`$GCC_GIT log -n1 --pretty=tformat:%h`
        r=`$GCC_GIT describe --all --match 'basepoints/gcc-[0-9]*' HEAD \
           | sed -n
's,^\(tags/\)\?basepoints/gcc-\([0-9]\+\)-\([0-9]\+\)-g[0-9a-f]*$,r\2-\3,p;s,^\(tags/\)\?basepoints/gcc-\([0-9]\+\)$,r\2-0,p'`;

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-12 19:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-10  9:49 [Bug other/111360] New: contrib/gcc_update: bad test egallager at gcc dot gnu.org
2023-09-10  9:51 ` [Bug other/111360] " egallager at gcc dot gnu.org
2023-09-11  9:02 ` redi at gcc dot gnu.org
2023-09-12 11:45 ` cvs-commit at gcc dot gnu.org
2023-09-12 12:12 ` redi at gcc dot gnu.org
2023-09-12 19:01 ` egallager at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).