-
Notifications
You must be signed in to change notification settings - Fork 3k
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
systools: support creating start.boot in make_script and adding files to make_tar #2420
Conversation
Did you manage to run the tests? You need a released system to run the sasl test properly. I do this:
I got a couple of errors:
|
I still haven't. I'll try the commands you listed, they look different from what is in the wiki https://github.com/erlang/otp/wiki/Running-tests#building |
yeah, you are running the one of the few (if not only) suite out of all our suites that require an actual installed target system to test with and can't run in the build tree. |
actually those instructions should work, the only thing missing is:
|
I still get failures:
|
Do a git clean -xfdq and that will go away. |
Agh, thanks! I hit this every time I need to run the OTP tests :) and never remember to just do a clean. |
ec2cfba
to
42b7e79
Compare
Ok, tests are fixed up. I'll get the docs updated tomorrow. |
42b7e79
to
86e205a
Compare
Forgot I had opened this... hell, I forgot I even wrote the code! Now that I'm working on relx 4.0.0 I've come back to it and integrated it with relx and it works great. |
And I have run the |
Put into testing. You mentioned something about docs? |
Woops, thought I had done that. Will try to knock those out this morning. |
Ok, docs are added. |
I'm unable to compile OTP in order to run tests so I have not confirmed these changes yet. But because that has been taking so long to figure out I'm opening this as a draft for comment. I know that documentation still needs to be updated.
make_script
now accepts the name of the boot file to create, it is not restricted to onlyRelName.boot
orstart.boot
. This is because after talking to @josevalim he pointed out that Elixir releases need to create astart_clean.boot
. With relx we just copy the one that is found in the Erlang install but they can't do that because it needs to include iex and elixir libs.make_tar
will take a list the same as the list of tuples you can pass toerl_tar
,{From, To}
.