#2584: Invalid directory stack for suppression files
----------------------+-----------------------
Reporter: maleadt | Owner:
Type: undecided | Status: new
Priority: minor | Milestone: undecided
Version: 0.8.8 | Keywords:
----------------------+-----------------------
I'm currently trying to get a suppression file working, but I'm having
some issues matching the filename. Looking at the source, Buildbot builds
a directory stack using the following regex:
{{{
directoryEnterPattern = "make.*: Entering directory [\"`'](.*)['`\"]"
}}}
... and building the directory stack like:
{{{
if directoryEnterRe:
match = directoryEnterRe.search(line)
if match:
self.directoryStack.append(match.group(1))
continue
}}}
Finally, the current directory is constructed using this directory stack:
{{{
currentDirectory = '/'.join(self.directoryStack)
}}}
However, make seems to print full paths each time it enters a directory:
{{{
make[3]: Entering directory
`/srv/buildbot/slaves/phoenix/clang/build/dresc/archs/3MF'
}}}
Doesn't this cause the directory stack to contain full paths over and
over, ultimately constructing an invalid file path?
--
Ticket URL: <http://trac.buildbot.net/ticket/2584>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits