Re: [Emc-developers] CI environment, which libraries?

2023-01-10 Thread andy pugh
On Wed, 11 Jan 2023 at 00:17, Steffen Möller  wrote:

> And then the thought that you may possibly want to test on something that we 
> can control ourselves?

That might have been better, but Jeff pointed out this morning that
rl_ding() isn't in one of the readline wrappers, and that
rl_initialize() might be a better choice, and that seems like it might
be working now:
https://github.com/LinuxCNC/linuxcnc/pull/2256

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] CI environment, which libraries?

2023-01-10 Thread Steffen Möller



> Gesendet: Dienstag, 10. Januar 2023 um 10:55 Uhr
> Von: "andy pugh" 
> An: "EMC developers" 
> Betreff: [Emc-developers] CI environment, which libraries?
>
> I added a test to test the command line parameters for halcompile.
> https://github.com/LinuxCNC/linuxcnc/pull/2256
>
> This requires sample code to reference a function in an external library.
> I chose "rl_ding()" from readline.
> But it seems that this wasn't a good choice, as the test passes on my
> PC but fails in the CI environment in Github.
>
> https://github.com/LinuxCNC/linuxcnc/actions/runs/3879455596
>
> Can anyone suggest a library and a function that should always be
> present in any Linux installation, especially including the CI
> environment on github?

My first reaction was to point you to the libc and the printf function, but 
then again, every architecture may have this in a different subdirectory - hm:

$ objdump -T /lib/$(dpkg-architecture -qDEB_HOST_GNU_TYPE)/libc.so.6|grep 
text|egrep '\https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] CI environment, which libraries?

2023-01-10 Thread andy pugh
I added a test to test the command line parameters for halcompile.
https://github.com/LinuxCNC/linuxcnc/pull/2256

This requires sample code to reference a function in an external library.
I chose "rl_ding()" from readline.
But it seems that this wasn't a good choice, as the test passes on my
PC but fails in the CI environment in Github.

https://github.com/LinuxCNC/linuxcnc/actions/runs/3879455596

Can anyone suggest a library and a function that should always be
present in any Linux installation, especially including the CI
environment on github?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers