Replies: 2 comments 4 replies
-
OK, as long at it is not needed in the code, I just improved get_path_to_exe() in testsuite/ which can detect trivially GDL, FL & IDL on Linux, and IDL & GDL on OSX. Then some tests previously using ../src/gdl can run anywhere now. And I can test with success the code |
Beta Was this translation helpful? Give feedback.
0 replies
-
@alaingdl test_shmap seems to have problems on OSX (last 2 Prs at least) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
OK, the test 'test_shmmap' is working fine on Linux and OSX if I can provide the path to the GDL executable, and I know how to do for Linux & OSX in C in few lines (tested) and should be easy to extend it to others OS.
Could you suggested me a name for such non-standard function ? GET_PATH_GDL_EXE() ?
(a generalization of the Linux-only code :
get_pid=FILE_READLINK('/proc/self')
get_abspath_to_exe=file_readlink('/proc/'+get_pid+'/exe')
)
One drawback is that now the SHMMAP test is working fine in IDL & GDL but we can circumvent that quite easily for Linux ...
another solution is to just do the C code only for OSX ? (because I don't know how to do it just by call to GDL syntax code ...)
Beta Was this translation helpful? Give feedback.
All reactions