-
Notifications
You must be signed in to change notification settings - Fork 2
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
Added sequence tests #27
Conversation
auxiliary/ansi-aux.lsp
Outdated
@@ -1024,10 +1024,10 @@ the condition to go uncaught if it cannot be classified." | |||
"Create a test that FORM, which should produce a fresh value, | |||
does not improperly introduce sharing during constant folding." | |||
`(deftest ,name | |||
(flet ((%f () (declare (optimize (speed 3) (safety 0) (space 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.
Should work when loading from eus-test.l
https://github.com/euslisp/ansi-test/blob/gsoc2018/eus-test.l#L102
Are you using euslisp from source or from apt? Also, it appears that the latest euslisp requires building |
15e13c9
to
405b8d6
Compare
I thought I was using the latest version (roseus was 1.7, if I'm not mistaken), but it might've slipped. Now, is it just me or there is no more roseus from apt ( Anyway, I'm using euslisp from source now. But, after uninstalling roseus, I've been unable to bring it back (installation fails, mostly because it can't find euslisp's ros configuration files, which were removed prior to installing from source.. I've tried some changes on roseus's installation files to try to circumvent that, but none worked). |
Now, with euslisp from source, when running the tests I'm having |
I was able to run from source with the following:
|
I get no errors at |
I did the changes you mentioned (even when probably not needed):
Even so on trying to install roseus, I got the following:
Do we have a Cmake file for euslisp? it seems to want to look at one of those. Or a different CMAKE_PREFIX_PATH, but I'm not sure what to do about it as yet Apart from that, new strange errors are popping up when running the tests with Maybe those errors are an expected result of recent changes. |
acf8f74
to
cfe4e7c
Compare
About the installation: It seems that your build cannot locate the You can try to:
About the tests: The Maybe we should fix this too, since the test suite is designed for pure euslisp, without ros utilities. EDIT: tests stopping after |
Just having apt-installed euslisp (and jskeus) is not enough (it was the first thing I tried, incidentally). Now, it goes About the tests, I think it is not a problem to trust in some of the roseus-only features, insofar as they're not ros-related features (it raises the question though.. if they're not ros related, why are they on roseus?). It seems enough for me to be aware we are making use of those features and to know which features they are (the second part could, perhaps, be better addressed closer to the end). About the peek.. I'll try to adress it shortly (some of the others as well). By the way, about the infix notation, did you consider #y (as in "ynfix")? it sound good to me |
cfe4e7c
to
d2991d3
Compare
Please post the complete result of
Actually they seem to defined in the irt extension. Just tried, and appears that the tests also run well in
Seems good to me too. I am however also thinking in the possibility of leaving the infix macro on the |
It is in the issue 30
Yes, (luckily for me) that seems to be the case
That's a solution, but if people are not using it much right now, I wonder if making them load it by hand wouldn't make them even less willing to use it. Not that it would make a big difference, though |
Are you not having |
it compile euslisp/jskeus within catkin workspace, we need to add files manually. you can also check the script https://github.com/jsk-ros-pkg/jsk_roseus/blob/master/setup_upstream.sh |
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.
- Restore commented-out parts in
search-aux.lsp
using bit-vectors and eus-like subseq - The following auxiliary functions do not behave as expected. Please test your code before sending PRs.
equalp
substitute
substitute-if
substitute-if-not
nsubstitute
nsubstitute-if
nsubstitute-if-not
mismatch
peek-char
auxiliary/eus-sequences.l
Outdated
|
||
|
||
;; Shadows peek-char to accept peek-type, and ignore it for now | ||
(defun peek-char (&optional (peek-type nil) (stream *standard-input*) |
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.
It shouldn't work.. I've accidentally pushed the wrong update, but will push the correct one as soon as I can (I'm without my computer right now)..
I have no excuse for the errors on those functions, but they should hopefully be fine now. |
Fix auxiliary functions
No description provided.