dynamobi/dynamobi — Issue #481: [FNL-27] re-enable CalcAssemblerTest cases testInvalidPrograms, testStandardTypes on Win32
Author: dynamobi-build
Created: 2011-12-30 03:29:01+00:00
State: open
Labels: FNL, Test

[reporter="jvs", created="Tue, 21 Mar 2006 18:04:58 -0500 (GMT-05:00)"]
Just adding this to record that I disabled the tests.

Angel's partial fix is preserved below for posterity. When I ran it on Linux, testStandardTypes failed, so I didn't include it in 5929.

$ p4 diff CalcAssemblerTest.cpp

==== //open/lu/dev/fennel/disruptivetech/test/CalcAssemblerTest.cpp#5 - /home/jvs\open\fennel\disruptivetech\test\CalcAssemblerTest.cpp ====

40a41,46

> #ifdef __MINGW32__

> #define OUT_OF_RANGE_ERR "Result too large"

> #else

> #define OUT_OF_RANGE_ERR "out of range"

> #endif

>

749a756,757

> // FIXME jvs 21-Mar-2006: get this working on Win32

> #ifndef __MINGW32__

750a759

> #endif

1697c1706

< testCase3.expectAssemblerError("out of");

---

> testCase3.expectAssemblerError(OUT_OF_RANGE_ERR);

1718c1727

< testCase4.expectAssemblerError("out of range");

---

> testCase4.expectAssemblerError(OUT_OF_RANGE_ERR);

2102c2111

< testCase7.expectAssemblerError("out of range");

---

> testCase7.expectAssemblerError(OUT_OF_RANGE_ERR);