Make the Windows test runner use the project model that it already loads to locate the modules to copy to the test location. Use this knowledge to cleanly setup a swig-perl environment for testing.
Make the Windows test runner use the project model that it already loads to
locate the modules to copy to the test location. Use this knowledge to
cleanly setup a swig-perl environment for testing.

* win-tests.py
  (imports): Import gen_base.
  (argument parser): Remove warning for perl and python.
  (copy_changed_file): Update arguments to be strict about dir and file
    targets. Keep track of files to remove later.

  (copy_execs): Remove function.
  (locate_libs): Update caller. Fixes that insane problem where sometimes the
    test directory became a file that bothered me for years.

  (if create_dirs): Copy project output instead of walking everything to
    locate *.exe in +- the entire tree.

  (if test_swig == 'perl'):
    Implement perl test runner.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1506025 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion