Announcement

Collapse
No announcement yet.

Error running sikuli script from pts test

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error running sikuli script from pts test

    Hello,

    I am trying to create my own phoronix-test-suite test, which uses a sikuli script in order to automate some tour through a web page.
    The pts test is as simple as to move to a specific path and run the sikuli script, but it is not working. However, if I run the single commands on a terminal or execute the bash program created manually it works successfully.

    Here are two ways of writing the pts script to run the test that I want:

    First option:
    Code:
    #!/bin/sh
    cd sikuli
    java -jar sikulix.jar -r my_sikuli_script.skl
    Second option:
    Code:
    #!/bin/sh
    cd sikuli
    ./runsikuli -r my_sikuli_script.skl
    Does anybody help me, please?
    Many thanks in advance!

    Fabián.

  • #2
    Have you tried using the phoronix-test-suite debug-run <name of test> command?
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Many thanks! That helped me to figure out the problem: from PTS test, sikuli script faile to read USER environment variable value.
      I will try to solve this passing the USER value by argument.

      Thanks again.
      Fabián.

      Comment

      Working...
      X