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

[sequences.tex] add small sample of map and mapcar #382

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

kochigami
Copy link
Contributor

I added small explanations of how to use map and mapcar.
When I've writing jsk-ros-pkg/jsk_robot#1074, I thought it would be useful if there were samples of them.

(By the way, how to compile (j-)manual.pdf...? I'd like to check whether my PR is ok to be merged,)

@Affonso-Gui
Copy link
Member

@kochigami You can generate (j)manual.pdf by going to the (j)latex directory and running make. This will also update some *.hlp files, which are welcome to be included in this PR as well.

@kochigami kochigami force-pushed the add-map-mapcar-sample branch from 444770f to b53086e Compare May 2, 2019 12:27
@kochigami
Copy link
Contributor Author

Thank you for your advice!
I added *.hlp, *.dvi, and *.pdf files.

@kochigami
Copy link
Contributor Author

test4 in unittest.l seems to fail...?

+ eusgl /home/travis/build/euslisp/EusLisp/test/unittest.l
configuring by "/home/travis/jskeus/eus/lib/eusrt.l"
;; readmacro ;; object ;; packsym ;; common ;; constants ;; stream ;; string ;; loader ;; pprint ;; process ;; hashtab ;; array ;; mathtran ;; eusdebug ;; eusforeign ;; extnum ;; coordinates ;; tty ;; history ;; toplevel ;; trans ;; comp ;; builtins ;; par ;; intersection ;; geoclasses ;; geopack ;; geobody ;; primt ;; compose ;; polygon ;; viewing ;; viewport ;; viewsurface ;; hid ;; shadow ;; bodyrel ;; dda ;; helpsub ;; eushelp ;; xforeign ;; Xdecl ;; Xgraphics ;; Xcolor ;; Xeus ;; Xevent ;; Xpanel ;; Xitem ;; Xtext ;; Xmenu ;; Xscroll ;; Xcanvas ;; Xtop ;; Xapplwin 
�[31mXserver connection failed�[0m;; pixword ;; RGBHLS ;; convolve ;; piximage ;; pbmfile ;; image_correlation ;; oglforeign ;; gldecl ;; glconst ;; glforeign ;; gluconst ;; gluforeign ;; glxconst ;; glxforeign ;; eglforeign ;; eglfunc ;; glutil ;; gltexture ;; glprim ;; gleus ;; glview ;; toiv-undefined ;; fstringdouble �[34m
EusLisp 9.26(d23a023) for Linux64 created on cb3d95363571(Thu May 2 12:33:11 UTC 2019)�[0m
TEST-NAME: test1
  now testing...
�[32mstart testing [test1]
�[0mTEST-NAME: test2
  now testing...
�[32mstart testing [test2]
�[0mTEST-NAME: test3
  now testing...
�[32mstart testing [test3]
�[0mTEST-NAME: test4
  now testing...
�[32mstart testing [test4]
�[0m�[31m*** This test  fails intentinally ****
�[0m�[31m[ERROR] test nil failed ... (false ^[0mm*** This test  fails intentinally ****
 cb3d95363571(Thu May 2 12:33:11 UTC 2019)^[0m4�).�[0m
�[31m[ERROR] test nil failed ... (false 0m4�).^[0m
] test nil failed ... (false ^[0mm*** This test  fails intentinally ****
 cb3d95363571(Thu May 2 12:33:11 UTC 2019)^[).�[0m
�[31m[ERROR] test nil failed ... (false d95363571(Thu May 2 12:33:11 UTC 2019)^[).^[0m
[0m
] test nil failed ... (false ^[0mm*** This test  fails intentinally ****
 cb3).�[0m
�[31m[ERROR] test nil failed ... (false  This test  fails intentinally ****
 cb3).^[0m
71(Thu May 2 12:33:11 UTC 2019)^[).^[0m
[0m
] test nil failed ... (false ^[0mm***).�[0m
�[31m[ERROR] test nil failed ... (false 0m
] test nil failed ... (false ^[0mm***).^[0m
est  fails intentinally ****
 cb3).^[0m
71(Thu May 2 12:33:11 UTC 2019)^[).^[0m
[).�[0m
�[31m[ERROR] test nil failed ... (false 1(Thu May 2 12:33:11 UTC 2019)^[).^[0m
[).^[0m
st nil failed ... (false ^[0mm***).^[0m
est  fails intentinally ****
 cb3).^[0m
7).�[0m
�[31m[ERROR] test nil failed ... (false st  fails intentinally ****
 cb3).^[0m
7).^[0m
ay 2 12:33:11 UTC 2019)^[).^[0m
[).^[0m
st nil failed ... (false ^[0mm***).^[0m
e).�[0m
�[31m[ERROR] test nil failed ... (false t nil failed ... (false ^[0mm***).^[0m
e).^[0m
ls intentinally ****
 cb3).^[0m
7).^[0m
ay 2 12:33:11 UTC 2019)^[).^[0m
[).^[0m
s).�[0m
�[31m[ERROR] test nil failed ... (false y 2 12:33:11 UTC 2019)^[).^[0m
[).^[0m
s).^[0m
ailed ... (false ^[0mm***).^[0m
e).^[0m
ls intentinally ****
 cb3).^[0m
7).^[0m
a).�[0m
�[31m[ERROR] test nil failed ... (false s intentinally ****
 cb3).^[0m
7).^[0m
a).^[0m
33:11 UTC 2019)^[).^[0m
[).^[0m
s).^[0m
ailed ... (false ^[0mm***).^[0m
e).^[0m
l).�[0m
ALL RESULTS:
  TEST-NUM: 4
    PASSED:   3
�[31m    FAILURE:  1

@kochigami
Copy link
Contributor Author

Oh, that was a test which fails intentionally :)

The final output says it is a timeout:

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

The build has been terminated

@Affonso-Gui
Copy link
Member

Probably the same as in #380 .
Should pass if the PRs in the description get merged.

@k-okada k-okada force-pushed the add-map-mapcar-sample branch from 464bf58 to 9a43b66 Compare June 7, 2019 00:00
@k-okada k-okada merged commit 5a9a971 into euslisp:master Jun 7, 2019
@kochigami kochigami deleted the add-map-mapcar-sample branch June 7, 2019 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants