Page MenuHomeFreeBSD

atf: Guard against multiple evaluation.
ClosedPublic

Authored by des on Fri, May 10, 6:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 19, 8:38 PM
Unknown Object (File)
Fri, May 17, 4:31 AM
Unknown Object (File)
Wed, May 15, 10:12 AM
Unknown Object (File)
Mon, May 13, 9:12 AM
Unknown Object (File)
Mon, May 13, 6:56 AM
Unknown Object (File)
Sun, May 12, 9:17 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Fri, May 10, 6:12 AM

BTW, ATF is under FreeBSD org at GitHub: https://github.com/freebsd/atf , we an fix there and import to base.

Cool, feel free to open an issue there, I don't want to have to wait weeks or months for a fix.

ngie added a subscriber: ngie.
ngie added inline comments.
contrib/atf/atf-c/macros.h
174

_(picking a line)_
Should this macro expansion use #_atf_expected, #_atf_actual instead of #expected, #actual? It shouldn't matter, except with non standards conforming C/C++ toolchains.

This revision is now accepted and ready to land.Tue, May 14, 10:33 PM
des marked an inline comment as done.Wed, May 15, 10:07 AM
des added inline comments.
contrib/atf/atf-c/macros.h
174

No, that wouldn't work since _atf_expected and _atf_actual aren't macro parameters, and I don't see why you'd want to.

This revision was automatically updated to reflect the committed changes.
des marked an inline comment as done.