On 2/11/22 08:50, Sebastian Kuzminsky wrote:
Those tests run for a long time normally. Try `runtests -v` to get output while the tests are running.
-- Sebastian Kuzminsky

Sorry, I should have posted this to the developer list. Too blurry-eyed last night :)

I found the problem. I had something else running on port 5007. linuxcncrsh does not check the results of bind, and just carries on.

I've added error checking code to linuxcncrsh.

I added this:

if nc -z localhost 5007; then
    echo "Process already listening on port 5007. Exiting"
    exit 1
fi

to the scripts before they fire up linuxcncrsh. Now they all fail, as expected, if there is something else on the port.  I changed these:


    /home/andy/src/linuxcnc/linuxcnc/tests/linuxcncrsh-tcp
    /home/andy/src/linuxcnc/linuxcnc/tests/linuxcncrsh
 /home/andy/src/linuxcnc/linuxcnc/tests/mdi-queue/oword-queue-buster
 /home/andy/src/linuxcnc/linuxcnc/tests/mdi-queue/simple-queue-buster
    /home/andy/src/linuxcnc/linuxcnc/tests/t0/nonrandom
    /home/andy/src/linuxcnc/linuxcnc/tests/t0/random-with-t0
    /home/andy/src/linuxcnc/linuxcnc/tests/t0/random-without-t0
 
/home/andy/src/linuxcnc/linuxcnc/tests/toolchanger/toolno-pocket-differ/nonrandom
 /home/andy/src/linuxcnc/linuxcnc/tests/toolchanger/toolno-pocket-differ/random

The only test failed after that was:

    /home/andy/src/linuxcnc/linuxcnc/tests/build/ui

I had to add -L/usr/include/tirpc -ltirpc in test.sh for that test.

I think this is a good example for me to learn the workflow of testing a patch and submitting a pull request.

Regards Andy



On February 10, 2022 11:39:58 PM MST, Andy Howell <a...@gamubaru.com> wrote:

    When I run the test suite there are a number of tests that seem to
    hang.  It could be I am just impatient. For example:

    tests/linuxcncrsh-tcp

    tests/linuxcncrsh

    tests/mdi-queue/oword-queue-buster

    Should I expect all the tests to run?

    I running this under Ubuntu 21.10 on an older laptop, Intel(R) Core(TM)
    i7-4810MQ CPU @ 2.80GHz, 32GB memory. SSD drive.

    Thanks,

    Andy
    ------------------------------------------------------------------------
    Emc-users mailing list
    Emc-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/emc-users

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to