[MOBY-l] Local BioMOBY Central - Ontology test fails
Mark Wilkinson
markw at illuminae.com
Mon Feb 12 00:52:30 UTC 2007
Hi Karthik,
I don't think you will be able to test the OntologyServer at mobycentral
independently of all other calls going to mobycentral also, so if you have
only changed the MOBY_ONTOLOGYSERVER environment variable, leaving the
other ones at localhost, you will expect at least some of the errors you
report below.
M
On Sun, 11 Feb 2007 16:33:10 -0800, Rajasekar Karthik
<karthik085 at gmail.com> wrote:
> Hi Mark,
>
> I do have all the environment variables as suggested. Still, the same
> results. :-(
> I tested against the default
> http://mobycentral.icapture.ubc.ca/cgi-bin/On
> tologyServer.cgi and 4 testcases fail:
>
> ok 1 - use MOBY::Client::OntologyServer;
> ok 2 - MOBY::Client::OntologyServer->can(...)
> ok 3
> ok 4
> ok 5
> ok 6
> ok 7
> not ok 8 # TODO How come I cant' set proxy back to its original value?
> # Failed (TODO) test at t/Client-OntologyServer.t line 101.
> # got: 'bar'
> # expected: undef
> # Couldn't return proxy to previous value
> not ok 9
> # Failed test at t/Client-OntologyServer.t line 111.
> # got: '0'
> # expected: '1'
> # Namespace 'Rub1' reported erroneously as non-existent.
> not ok 10
> # Failed test at t/Client-OntologyServer.t line 111.
> # got: '0'
> # expected: '1'
> # Namespace 'Rub2' reported erroneously as non-existent.
> ok 11
> ok 12
> ok 13
> ok 14
> ok 15
> not ok 16
> # Failed test at t/Client-OntologyServer.t line 127.
> # got: '0'
> # expected: '1'
> # Service type 'Rub1' reported erroneously as non-existent.
> not ok 17
> # Failed test at t/Client-OntologyServer.t line 127.
> # got: '0'
> # expected: '1'
> # Service type 'Rub2' reported erroneously as non-existent.
> ok 18 - MOBY::Client::OntologyServer->can('relationshipExists')
> ok 19
> ok 20
> ok 21
> ok 22
> ok 23
> ok 24
> ok 25
> ok 26
> ok 27
> 1..27
> # Looks like you failed 4 tests of 27.
>
>
> On 2/11/07, Mark Wilkinson <markw at illuminae.com> wrote:
>>
>> Hi Karthik,
>>
>> Make sure that you have all three environment variables set:
>>
>> MOBY_SERVER=http://localhost/path/to/MOBY-Central.pl
>> MOBY_URI=http://localhost/MOBY/Central
>> MOBY_ONTOLOGYSERVER=http://localhost/path/to/OntologyServer.cgi
>>
>> That should solve your problems... I hope :-)
>>
>> M
>>
>>
>>
>>
>> On Sun, 11 Feb 2007 14:18:25 -0800, Rajasekar Karthik
>> <karthik085 at gmail.com> wrote:
>>
>> > Hi,
>> >
>> > I am setting up a local biomoby central. I am following this document:
>> >
>> http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Docs/MOBY-S_API/InstallingLocalMOBYCentral.html
>> >
>> > 1. When I do, make test - all test cases passes for all the files,
>> except
>> > for Client-OntologyServer.t. I attached my test results for all('make
>> > test')
>> > and for Client-OntologyServer.t('perl t/Client-OntologyServer.t')
>> along
>> > this
>> > mail. Here is just the summary:
>> >
>> > Failed Test Stat Wstat Total Fail List of Failed
>> >
>> -------------------------------------------------------------------------------
>> > t/Client-OntologyServer.t 13 3328 27 13 9-17 19-22
>> > 1 test skipped.
>> > Failed 1/13 test scripts. 13/381 subtests failed.
>> > Files=13, Tests=381, 79 wallclock secs ( 7.82 cusr + 0.70 csys =
>> 8.52
>> > CPU)
>> > Failed 1/13 test programs. 13/381 subtests failed.
>> > make: *** [test_dynamic] Error 255
>> >
>> >
>> > 2. t/Config file is being skipped for testing. It says:
>> > all skipped: Required only when you have your own local MOBY Central
>> > How do I test t/Config?
>> >
>> > Any help would be appreciated.
>> >
>>
>>
>>
>> --
>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>>
>
>
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the moby-l
mailing list