[plt-scheme] Can anyone give me some help on running Untyped "Smoke" testapp?

From: Nevo (sakur.deagod at gmail.com)
Date: Tue Dec 8 09:07:28 EST 2009

ok, I simply defined "continuation-peek" as following in order to get it 
work.  And it actually started with continuous "notification" test 
failures (see below bold text),but it worked anyway.

  (define (continuation-peek instance-id a-k-id a-salt)
    (continuation-lookup instance-id a-k-id a-salt))

++++++++++++++++++++++++++++++++++++++++++
*smoke > testapp > notification > notifications dismissed by clicking 'x'
notifications dismissed by clicking 'x'
FAILURE
name:       check-equal?
location:   testapp/tests/notification-test.ss:37:6
actual:     0

expected:   1*
++++++++++++++++++++++++++++++++++++++++++

Nevo
> hi, Dave:
>    It seems the argument "continuation-peek" for parent struct 
> "manager" is missing , any suggests?  It seems this arg will be mostly 
> used for debugging.
>
> Nevo
>> hi, Dave:
>>    Thank you again .  I followed your instructions , but got an error 
>> like this :
>> +++++++++++++++++++++++++++++++++++++++++++
>> # mzscheme run-tests.ss
>> make-LRU-manager: expects 10 arguments, given 9: 
>> #<procedure:...-lru-inter... #<procedure:adjust-timeout!> 
>> #<procedure:...-lru-inter... #<procedure:...-lru-inter... 
>> #<procedure:...-lru-inter... #<procedure:...t/servlet-... 300 
>> #hasheq() #<procedure:...-lru-inter...
>>
>>  === context ===
>> /opt/eggs/home-eggs/plt-eggs.git/smoke-test/web-server/smoke-lru-internal.ss:56:0: 
>> core
>> core
>> /opt/eggs/home-eggs/plt-eggs.git/smoke-test/web-server/smoke-lru.ss:25:0: 
>> core
>> /opt/eggs/home-eggs/plt-eggs.git/smoke-test/web-server/run-smoke.ss:81:0: 
>> core
>> /opt/eggs/home-eggs/plt-eggs.git/smoke-test/run-tests.ss: [running body]
>> +++++++++++++++++++++++++++++++++++++++++++
>>   Am  my environment being dirtied ?  I tried to commented out the 
>> "remove-hard-links"  to remove existing planet links for Untyped 
>> packages, the result did no any good except the above.
>>
>> Nevo
>>
>>> Oops!
>>>
>>> I should have written "delirium trunk" below instead of "delirium bridge branch".
>>>
>>> I've added an autoplanet script to Smoke to simplify all this. To run the unit tests, do the following:
>>>
>>>   mkdir <SOME_DIRECTORY>
>>>   cd <SOME_DIRECTORY>
>>>
>>>   # Get the code for Smoke.
>>>   svn co http://svn.untyped.com/smoke/branches/bridge/src .
>>>   
>>>   # Fetch dependencies and install planet dev links.
>>>   # See the comments in the script for details:
>>>   mzscheme autoplanetrc.ss
>>>
>>>   # Compile and run the test application:
>>>   mzc run-tests.ss && mzscheme run-tests.ss
>>>
>>>   # To start the tests, open this web address in your browser:
>>>   # http://localhost:8765/test
>>>
>>> Some of the tests require manual intervention.
>>>
>>> Hope this helps,
>>>
>>> -- Dave
>>>
>>> Dave Gurnell wrote:
>>>
>>>   
>>>> Hi Nevo,
>>>>
>>>> We're in a state of flux right now - the most bleeding edge versions of these libraries are in branches.
>>>>
>>>> The root of the problems is Dispatch, which we've updated in the "bridge" branch but not released. Dispatch is used by the unit tests in Smoke and Delirium, so both of those are in branches too. Unfortunately we have old versions of things in production code and on PLaneT, so it's a pain to move things around and sort them out.
>>>>
>>>> Here's the list of things I think you need for the latest and greatest version of Smoke:
>>>>
>>>>   - unlib trunk;
>>>>   - mirrors trunk;
>>>>   - dispatch bridge branch;
>>>>   - delirium bridge branch;
>>>>   - smoke bridge branch.
>>>>
>>>> I hope to get this sorted out over Christmas. At the very least, I want to get the new branches of dispatch and delirium released on PLaneT. It's just a matter of documenting them really, which always takes longer than you think.
>>>>
>>>> Cheers,
>>>>
>>>> -- Dave
>>>>     
>>> _________________________________________________
>>>   For list-related administrative tasks:
>>>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>>
>>>   
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20091208/1d332d6f/attachment.html>

Posted on the users mailing list.