incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: command line test runner
Date Fri, 10 Oct 2008 10:40:23 GMT

On Oct 10, 2008, at 00:13, Chris Anderson wrote:

> On Wed, Oct 1, 2008 at 11:59 PM, Chris Anderson <jchris@apache.org>  
> wrote:
>> Couch-heads,
>>
>> I've got the tests from couch_tests.js running from the command line.
>
> I've commited this to trunk as revision 703276. To run the tests, run
> `make check` while you have a CouchDB instance available at
> http://127.0.0.1:5984 - ideally make check should be able bootstrap a
> CouchDB. I'm not sure the best way to manage this, so I've left it out
> of scope.

Chris, this is mighty cool! :)

However:

Host: 127.0.0.1
Port: 5984
Version: 0.9.0a696059-incubating

basics
./runner.sh: line 5: 24486 Done                    cat ../share/www/ 
script/couch.js ../share/www/script/couch_tests.js test.js
      24487 Bus error               (core dumped) | ../src/couchdb/ 
couchjs -

--

The DEBUG backtrace:

#0  0x00038c6c in Curl_getFormData ()
#1  0x0003bdff in Curl_http ()
#2  0x00047879 in Curl_do ()
#3  0x00051393 in Curl_perform ()
#4  0x000037ef in PostHttp ()
#5  0x0017f36b in js_Invoke (cx=0x3017b0, argc=3, flags=0) at  
jsinterp.c:1375
#6  0x00190a6c in js_Interpret (cx=0x3017b0, pc=0x31a43a ":",  
result=0xbffff50c) at jsinterp.c:3944
#7  0x0017fd41 in js_Execute (cx=0x3017b0, chain=0x80a2b8,  
script=0x8dd600, down=0x0, flags=0, result=0xbffff5d4) at jsinterp.c: 
1633
#8  0x00140d7a in JS_ExecuteScript (cx=0x3017b0, obj=0x80a2b8,  
script=0x8dd600, rval=0xbffff5d4) at jsapi.c:4188
#9  0x00002a91 in ExecuteScript ()
#10 0x00004877 in main ()
(gdb)

All on Intel Mac OS X 10.5.5

Cheers
Jan
--

Mime
View raw message