Skip to content

Support executing fuzz tests with custom environment variables #223

Open
@zhenyudg

Description

@zhenyudg

Requested Behavior

Specifying an env dictionary of environment variables in a cc_fuzz_test causes the regression test and fuzz test to execute with the environment variables set.

Actual Behavior

Specifying an env dictionary of environment variables currently has no effect on the regression and fuzz tests.

Motivation

We use environment variables to configure sanitizers (e.g., where to look for runtime suppressions, UBSan should crash upon finding UB, print a stack trace).

I'm presently working on extending rules_fuzzing to support env.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions