Skip to content
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

lib/{mnesia,stdlib}: replace random functions by rand functions #9210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ariel-anieli
Copy link
Contributor

$ git grep -Pn 'random:uniform' | \
    awk -F: '{ \
    cmd = sprintf("sed -i -e '%ds/random:uniform/rand:uniform/' %s\n", $2,$1); \
    system(cmd); \
    close(cmd)
    }'

* follows from commit 7bf573c
* replacement is done everywhere, but in tests of `random` and `erl_lint`.

```
$ git grep -Pn 'random:uniform' | \
    awk -F: '{ \
    cmd = sprintf("sed -i -e '%ds/random:uniform/rand:uniform/' %s\n", $2,$1); \
    system(cmd); \
    close(cmd)
    }'
```

Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
Copy link
Contributor

github-actions bot commented Dec 17, 2024

CT Test Results

  2 files   57 suites   19m 10s ⏱️
677 tests 530 ✅ 147 💤 0 ❌
730 runs  569 ✅ 161 💤 0 ❌

Results for commit 1eaa157.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@IngelaAndin IngelaAndin added the team:PS Assigned to OTP team PS label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants