[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

getopt_tests.py failing.

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2002-04-08 19:18:57 CEST

getopt_tests.py is failing for me.

I've appended the output from running the test below:

Traceback (most recent call last):
  File "../../../../../svn.source/subversion/tests/clients/cmdline/getopt_tests.py", line 166, in ?
    svntest.main.run_tests(test_list)
  File "../../../../../svn.source/subversion/tests/clients/cmdline/svntest/main.py", line 368, in run_tests
    exit_code = _internal_run_tests(test_list, testnum)
  File "../../../../../svn.source/subversion/tests/clients/cmdline/svntest/main.py", line 318, in _internal_run_tests
    if run_one_test(n, test_list):
  File "../../../../../svn.source/subversion/tests/clients/cmdline/svntest/main.py", line 302, in run_one_test
    error = apply(func, args)
  File "../../../../../svn.source/subversion/tests/clients/cmdline/getopt_tests.py", line 118, in getopt_no_args
    return run_one_test(sbox, 'svn')
  File "../../../../../svn.source/subversion/tests/clients/cmdline/getopt_tests.py", line 89, in run_one_test
    exp_stdout, exp_stderr = load_expected_output(basename)
  File "../../../../../svn.source/subversion/tests/clients/cmdline/getopt_tests.py", line 48, in load_expected_output
    exp_stdout = open(stdout_filename, 'r').readlines()
IOError: [Errno 2] No such file or directory: 'getopt_tests_data/svn_stdout'

I beleive the problem is that getopt_tests_data lives in srcdir, and the test
is run from builddir, but I don't know how to fix that. Anyone else?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Mon Apr 8 19:23:48 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.