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/dialyzer/test: replace random:uniform/1 by rand:uniform/1 #9181

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ariel-anieli
Copy link

Hello,

If this change makes sens, I'll push subsequent ones on the same modification:

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

Ariel Otilibili added 6 commits December 11, 2024 19:48
…:uniform/1

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

Link: https://www.erlang.org/doc/deprecations.html#functions-deprecated-in-otp-19
Signed-off-by: Ariel Otilibili <[email protected]>
…iform/1

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

Link: https://www.erlang.org/doc/deprecations.html#functions-deprecated-in-otp-19
Signed-off-by: Ariel Otilibili <[email protected]>
…uniform/1

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

Link: https://www.erlang.org/doc/deprecations.html#functions-deprecated-in-otp-19
Signed-off-by: Ariel Otilibili <[email protected]>
…iform/1

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

Link: https://www.erlang.org/doc/deprecations.html#functions-deprecated-in-otp-19
Signed-off-by: Ariel Otilibili <[email protected]>
…:uniform/1

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

Link: https://www.erlang.org/doc/deprecations.html#functions-deprecated-in-otp-19
Signed-off-by: Ariel Otilibili <[email protected]>
…nd:uniform/1

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

Link: https://www.erlang.org/doc/deprecations.html#functions-deprecated-in-otp-19
Signed-off-by: Ariel Otilibili <[email protected]>
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Ariel Otilibili seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

github-actions bot commented Dec 11, 2024

CT Test Results

  2 files   42 suites   16m 18s ⏱️
477 tests 475 ✅ 2 💤 0 ❌
565 runs  563 ✅ 2 💤 0 ❌

Results for commit 9bb845c.

♻️ 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

@ariel-anieli ariel-anieli changed the title lib/dialyzer/test/small_SUITE_data: replace random:uniform/1 by rand:uniform/1 lib/dialyzer/test: replace random:uniform/1 by rand:uniform/1 Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants