Skip to content

dune doesn't reset DUNE_CACHE_ROOT inside cram tests #11501

Description

@davesnx

Opening this issue to see if there's an alternative I'm missing but running dune inside a cram tests makes warnings/hints appear about cache (and most probably any global setup for dune)

If DUNE_CACHE_ROOT is /path/that/does/not/exist/temp this output pops out:

   $ dune build @melange
+  Warning: Cache directories could not be created: Read-only file system;
+  disabling cache
+  Hint: Make sure the directory /path/that/does/not/exist/temp can be created

Reference issue from reasonml/reason-react#870 (comment)

Is there any cache, or set of env variables that should be set on cram tests by users or by default?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cramRelated to the cram test execution in DunequestionThis issue is a question about something

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions