sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16065
[Question #222197]: override Jython's script options
New question #222197 on Sikuli:
https://answers.launchpad.net/sikuli/+question/222197
Hi all,
I'm running a sikuli script ("test.sikuli") by using Sikuli-IDE.bat and passing some args to Jython's sys.argv :
"%SIKULI_HOME%"Sikuli-IDE.bat -r test.sikuli --args -p s1,s2 -m t1,t2,t3
"-p" and "-m" options are then parsed by getopt module as expected ...
It works fine, but I'd like to replace my own "-p" and "-m" options with "-s" (or --suite) and "-t" (or --testcase) as the following :
"%SIKULI_HOME%"Sikuli-IDE.bat -r test.sikuli --args -s s1,s2 -t t1,t2,t3
Of course that does not work because "-s" (or --stderr) and "-t" (or --test) are already reserved by the Jython's interpreter.
Is it possible to override those Jython's options and redefine a "-s" (or --suite) and "-t" (or --testcase) option ?
Thanks a lot,
Rayan
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.