Wrong version of getopt used
Brought to you by:
fabioz
In org.python.pydev.debug_1.4.6.2788/pysrc/runfiles.py getopt.getopt is used to separate options and directories.
However when regexp filters are used in "program arguments", sys.argv looks like this [ 'runfiles.py', '--verbosity', '2', 'dir_with_unit_tests', '-f', 'blabla.*' ].
Both -f and blabla.* will be treated as directories by getopt.getopt (everything after the first non-option argument will be treated like arguments).
Instead, use getopt.gnu_getopt to get the desired behavior.
Done for 1.4.7 (svn: 2820)
Note that the gnu_getopt had to be copied to the runfiles (because it's not available in jython 2.1)