-
Notifications
You must be signed in to change notification settings - Fork 677
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
Small enhancement of unit tests implementation style and fix of the tests' modules naming style #175
Small enhancement of unit tests implementation style and fix of the tests' modules naming style #175
Conversation
e68b4f8
to
acf4edf
Compare
printf ("TEST_RANDOMIZE: seed is %u\n", seed); \ | ||
\ | ||
srand (seed); \ | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this have the format of: do { ... } while (0)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the note. I've updated pull request.
60dc0d0
to
6ca37ea
Compare
Good to me. |
Looks good to me. |
@ruben-ayrapetyan |
…tests' modules naming style. - introducing TEST_RANDOMIZE macro for randomization of source data used in unit tests; - replacing assert with JERRY_ASSERT; - renaming test_* to test-*. JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
6ca37ea
to
57c6c37
Compare
assert
withJERRY_ASSERT
;