Skip to content

Conversation

@Keno
Copy link
Member

@Keno Keno commented May 29, 2025

This fixes #50256, by automatically installing a private copy of Revise into test/deps, similar to the mechanism for Documenter in make.jl. As in #58529, I made sure that this worked with both in-tree and out-of-tree builds.

@Keno Keno added the testsystem The unit testing framework and Test stdlib label May 29, 2025
This fixes #50256, by automatically installing a private copy of
`Revise` into test/deps, similar to the mechanism for Documenter in
make.jl. As in #58529, I made sure that this worked with both in-tree
and out-of-tree builds.
@Keno Keno force-pushed the kf/testrevise branch from 24ce07e to 27d0712 Compare May 29, 2025 01:34
@Keno Keno merged commit 3a5e1f1 into master May 29, 2025
4 of 7 checks passed
@Keno Keno deleted the kf/testrevise branch May 29, 2025 04:37
Keno added a commit that referenced this pull request May 29, 2025
This was supposed to be in #58559, but I accidentally forgot to
check it in.
$(call PRINT_JULIA, $(call spawn,RELOCATEDEPOT="" $(JULIA_EXECUTABLE)) $(TEST_JULIA_OPTIONS) ./runtests.jl $(TEST_SCRIPT_OPTIONS) $@)

revise-relocatedepot: revise-% :
revise-relocatedepot: revise-% : dep_revise
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't appear to be a legal target?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're talking about the dependency, you're correct, I ended up deciding it should do this on the julia side - I'll remove the typo. If you're talking about the two :, that's apparently something called a static pattern rule, which I didn't know about.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The static pattern is fine (and pre existing). It is a convenience feature for avoiding calling subst in this example

Keno added a commit that referenced this pull request May 30, 2025
This was supposed to be in #58559, but I accidentally forgot to check it
in.
Keno added a commit that referenced this pull request May 30, 2025
Our docsystem has the ability to install a local working copy of documenter,
complete with manifest/project and local depot to keep things isolated from
user packages. I recently made all of this work out of tree, and in #58559
added the same mechanism for the installation of revise in test-revise-*.
However, then I realized that the docsystem also has the ability to
install a copy of Reivse. Clearly a third copy of all of this is excessive.
Instead, unify all the manifests into `deps/jlutilities`, so that the same
Revise project/manifest is used for both doc and test. Similarly, only
use one depot at `buildroot/deps/jlutilities/depot` that both systems
share.
Keno added a commit that referenced this pull request May 30, 2025
Our docsystem has the ability to install a local working copy of
documenter, complete with manifest/project and local depot to keep
things isolated from user packages. I recently made all of this work out
of tree, and in #58559 added the same mechanism for the installation of
revise in test-revise-*. However, then I realized that the docsystem
also has the ability to install a copy of Reivse. Clearly a third copy
of all of this is excessive. Instead, unify all the manifests into
`deps/jlutilities`, so that the same Revise project/manifest is used for
both doc and test. Similarly, only use one depot at
`buildroot/deps/jlutilities/depot` that both systems share.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testsystem The unit testing framework and Test stdlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make-test-revise-* is broken

3 participants