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

Need KTX_CHECK/KTX_REQUIRE for not equal case. #2

Open
Revimal opened this issue Apr 24, 2019 · 0 comments
Open

Need KTX_CHECK/KTX_REQUIRE for not equal case. #2

Revimal opened this issue Apr 24, 2019 · 0 comments
Assignees
Labels
feature New feature for the next minor release
Milestone

Comments

@Revimal
Copy link
Owner

Revimal commented Apr 24, 2019

Currently, we use KTX_CHECK(testcase, (function() == 0), 0); when need to check is return value of function() not zero.
If we use KTX_CHECK like the above case, we can only get speculation result as 0 or 1, not the original return value of ``function()```.
So, we need some variant of KTX_CHECK/KTX_REQUIRE.

@Revimal Revimal self-assigned this Apr 24, 2019
@Revimal Revimal added the enhancement Feature enhancement for the next minor release label Apr 24, 2019
@Revimal Revimal added this to the v1.1.0 milestone Apr 24, 2019
@Revimal Revimal added feature New feature for the next minor release and removed enhancement Feature enhancement for the next minor release labels Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature for the next minor release
Projects
None yet
Development

No branches or pull requests

1 participant