-
-
Notifications
You must be signed in to change notification settings - Fork 701
Print full relative path for sage-runtests #40746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print full relative path for sage-runtests #40746
Conversation
|
Documentation preview for this PR (built with commit 2236987; changes) is ready! 🎉 |
sagemathgh-40746: Print full relative path for sage-runtests So one can simply copy and paste the output to rerun the tests URL: sagemath#40746 Reported by: Antonio Rojas Reviewer(s):
|
It does print the path but when I try to paste it: |
350e842 to
2236987
Compare
|
Set back to use |
sagemathgh-40746: Print full relative path for sage-runtests So one can simply copy and paste the output to rerun the tests URL: sagemath#40746 Reported by: Antonio Rojas Reviewer(s):
|
May I ask why it is not simply |
Because we can't assume where you're running the tests from |
|
Don't we assume at the sage root (root of the source repo)? "./sage -t" does not work in conda/meson? |
sagemathgh-40746: Print full relative path for sage-runtests So one can simply copy and paste the output to rerun the tests URL: sagemath#40746 Reported by: Antonio Rojas Reviewer(s):
Why should we? One can run test from anywhere by running
It does if you run it from the source dir, not from an installed (eg. distro packaged) sage. |
I am not saying that we should. This PR prints it as
Yes. |
Oh, I see. That's because there is no way (that I know of) of knowing which |
Of course, The doctester used to print |
No, it need not exist if you don't have the sage source around (eg. you installed it from distro packages or pypi) |
|
I never imagined a situation that Okay. Thank you. |
So one can simply copy and paste the output to rerun the tests