-
Notifications
You must be signed in to change notification settings - Fork 274
Tests for JBMC classpath problems #2733
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
Tests for JBMC classpath problems #2733
Conversation
256949d
to
84ef8d3
Compare
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.
My comments apply to most of the tests. I think this is pretty complete. I would maybe add a test with --classpath xyz:.
(with .
), as this is our main use case at the moment.
--classpath src | ||
-- | ||
Java main class: Test | ||
failed to open input file `Test.class' |
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.
Avoid using to specific regex in "not match" section (e.g. replace last line with failed.*Test\.class
@@ -0,0 +1,8 @@ | |||
KNOWNBUG | |||
Test.class | |||
--classpath src |
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.
What is the expected return code?
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.
done
@@ -0,0 +1,8 @@ | |||
KNOWNBUG |
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.
What is the actual behaviour? Is there a bug ticket?
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.
done #2864
-- | ||
-- | ||
We override the default path. Hence, Test cannot be found. | ||
Currently fails because symex-driven lazy-loading aborts without an error message. |
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.
If this only fails with symex-driven lazy-loading, you can mark that test as CORE symex-driven-lazy-loading-expected-failure
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.
done
@@ -0,0 +1,7 @@ | |||
KNOWNBUG | |||
src/Test.class | |||
|
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.
Add expected return code.
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.
done
KNOWNBUG | ||
Test.class | ||
--classpath test.jar | ||
-- |
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.
Add expected return code.
3062aa4
to
ea8db50
Compare
055cfb6
to
76dd4de
Compare
^VERIFICATION SUCCESSFUL$ | ||
-- | ||
-- | ||
This is incorrect as it would search for a Test.class file. |
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.
I don't fully understand the comment. Is that the expected behaviour?
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.
Clarified and fixed.
76dd4de
to
3e2c1ce
Compare
No description provided.