Skip to content

dune-gen does not support non-deterministic mode #365

@emillon

Description

@emillon

Hi,

It seems that dune-gen (used by stanza 0.2) does not support setting non-deterministic mode:

mdx/bin/dune_gen.ml

Lines 35 to 41 in 4942357

line " run_exn ~packages ~predicates ~prelude_str:[]";
line " ~non_deterministic:false";
line " ~silent_eval:false ~record_backtrace:false";
line " ~syntax:None ~silent:false";
line " ~verbose_findlib:false ~section:None";
line " ~root:None ~force_output:false";
line " ~output:(Some `Stdout)";

If we want MDX_RUN_NON_DETERMINISTIC=1 dune runtest to work, this needs be supported and dune to be adjusted so that it knows about the envvar dependency.

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