-
Notifications
You must be signed in to change notification settings - Fork 396
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
porttest running 0 tests #6486
Comments
babsingh
added a commit
to babsingh/omr
that referenced
this issue
Apr 20, 2022
When ${porttest_filter} is an empty string, no tests from omrporttest are run. Also, --gtest_filter input does not need to be wrapped in quotation marks. The below changes will correctly run omrporttest with an empty filter string: --gtest_filter=*${porttest_filter}* --gtest_filter=*Cuda* Fixes: eclipse#6486 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/omr
that referenced
this issue
Apr 20, 2022
When ${porttest_filter} is an empty string, no tests from omrporttest are run. Also, --gtest_filter input does not need to be wrapped in quotation marks. The below changes will correctly run omrporttest with an empty filter string: --gtest_filter=*${porttest_filter}* --gtest_filter=*Cuda* Fixes: eclipse#6486 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/omr
that referenced
this issue
Apr 20, 2022
When ${porttest_filter} is an empty string, no tests from omrporttest are run. ${porttest_filter} is never set in OMR so it will always be an empty string. Also, --gtest_filter=${porttest_filter} conflicts with the GTEST_FILTER environment variable used by omrbuild.groovy. To avoid the conflict and correctly run omrporttest, the --gtest_filter=${porttest_filter} option is removed. omrporttest should consistently rely upon the GTEST_FILTER environment variable. Fixes: eclipse#6486 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/omr
that referenced
this issue
Apr 20, 2022
When ${porttest_filter} is an empty string, no tests from porttest are run. ${porttest_filter} is never set in OMR so it will always be an empty string. Also, --gtest_filter=${porttest_filter} conflicts with the GTEST_FILTER environment variable used by omrbuild.groovy. To avoid the conflict and correctly run porttest, the --gtest_filter=${porttest_filter} option is removed. porttest should consistently rely upon the GTEST_FILTER environment variable. Fixes: eclipse#6486 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/omr
that referenced
this issue
Apr 21, 2022
When ${porttest_filter} is an empty string, no tests from porttest are run. ${porttest_filter} is never set in OMR so it will always be an empty string. Also, --gtest_filter=${porttest_filter} conflicts with the GTEST_FILTER environment variable used by omrbuild.groovy. To avoid the conflict and correctly run porttest, the --gtest_filter=${porttest_filter} option is removed. porttest should consistently rely upon the GTEST_FILTER environment variable. Changed --gtest_filter="Cuda*" to --gtest_filter=*Cuda*. 0 tests are run. This allows cuda_porttest to work correctly. Fixes: eclipse#6486 Signed-off-by: Babneet Singh <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I rebased my OMR repo, and I was able to reproduce the error, which is mentioned in #6465 (comment). The introduction of
"--gtest_filter="
at the end of theTest command
causes 0port tests
to run. It is apparently affecting all PR builds. @0xdaryl None of the PR builds are correctly runningporttest
.With the error
Without the error, after removing
"--gtest_filter="
The text was updated successfully, but these errors were encountered: