Opened 13 years ago

Last modified 13 years ago

#8159 closed defect

doh fails in Rhino 1.7 — at Version 4

Reported by: Adam Peller Owned by: Adam Peller
Priority: high Milestone: 1.3
Component: TestFramework Version: 1.2.1
Keywords: Cc: Richard Backhouse, Jared Jurkiewicz, alex, mark-wubben
Blocked By: Blocking:

Description (last modified by Adam Peller)

doh/runner.js works in custom_rhino.jar (aka Rhino 1.6) but fails with shrinksafe/js.jar (aka Rhino 1.7) When running, you just see the first group of tests, then nothing else.

------------------------------------------------------------
The Dojo Unit Test Harness, $Rev$
Copyright (c) 2007, The Dojo Foundation, All Rights Reserved
------------------------------------------------------------ 

366 tests to run in 26 groups
------------------------------------------------------------
GROUP "tests.date.locale" has 12 tests to run

It looks like a timing issue. doh.pause is called after the test instead of before, so it does not iterate. setTimeout is a stub function which executes immediately. Perhaps that has something to do with it (see #7207)

Change History (4)

comment:1 Changed 13 years ago by Richard Backhouse

I ran the runner.js through both the old and new shrinksafe and the resulting compressed files are identical.

comment:2 Changed 13 years ago by Adam Peller

Sorry, unrelated to Shrinksafe. Just DOH running on Rhino. See util/doh/runner.sh

comment:3 Changed 13 years ago by Adam Peller

Description: modified (diff)

Revision keyword set in [15929]

comment:4 Changed 13 years ago by Adam Peller

Cc: Richard Backhouse Jared Jurkiewicz mark-wubben added; [email protected] removed
Description: modified (diff)
Note: See TracTickets for help on using tickets.