Page MenuHomeFreeBSD

atf: Guard against multiple evaluation.
ClosedPublic

Authored by des on May 10 2024, 6:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 1, 9:40 PM
Unknown Object (File)
Fri, Sep 20, 8:46 PM
Unknown Object (File)
Fri, Sep 20, 12:02 AM
Unknown Object (File)
Tue, Sep 17, 6:11 AM
Unknown Object (File)
Tue, Sep 17, 2:55 AM
Unknown Object (File)
Mon, Sep 9, 12:53 AM
Unknown Object (File)
Sat, Sep 7, 2:39 PM
Unknown Object (File)
Jul 24 2024, 2:23 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57651
Build 54539: arc lint + arc unit

Event Timeline

des requested review of this revision.May 10 2024, 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.May 14 2024, 10:33 PM
des marked an inline comment as done.May 15 2024, 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.