Hi Dave,
I see there are already 6 failing unit tests.
FAIL: test_003_element_groups (__main__.GenTest)
FAIL: test_004_valueof (__main__.GenTest)
FAIL: test_010_simplecontent_restriction (__main__.GenTest)
FAIL: test_018_simpletypes_other (__main__.GenTest)
FAIL: test_019_to_etree (__main__.GenTest)
FAIL: test_020_catalogtest (__main__.GenTest)
As best I can tell, these are failing now as they were before my change.
With my changes there are 9 more unit tests failing:
FAIL: test_006_anysimpletype (__main__.GenTest)
FAIL: test_007_simpletype_memberspecs (__main__.GenTest)
FAIL: test_008_extensions (__main__.GenTest)
FAIL: test_011_annotations (__main__.GenTest)
FAIL: test_012_abstracttype (__main__.GenTest)
FAIL: test_013_procincl (__main__.GenTest)
FAIL: test_015_recursive_simpletype (__main__.GenTest)
FAIL: test_016_anywildcard (__main__.GenTest)
FAIL: test_021_anonymous_type (__main__.GenTest)
In order to help me figure out what's wrong, I added this bit of code to
GenTest.execute() after the p.communicate() function.
if stderr:
raise Exception(stderr)
This causes 2 new failures:
ERROR: test_014_xsi_type (__main__.GenTest)
ERROR: test_017_attr_groups (__main__.GenTest)
It appears these tests haven't worked for some time. The reason they aren't
failing is because the result is checked in to the source. So if the
command fails, the result file is still there and valid.
I'll fix the tests I broke and leave these new ones in and the old
previously breaking ones. In other words, I'll leave these as failing:
|FAIL: test_003_element_groups (__main__.GenTest)
FAIL: test_004_valueof (__main__.GenTest)
FAIL: test_010_simplecontent_restriction (__main__.GenTest)
FAIL: test_018_simpletypes_other (__main__.GenTest)
FAIL: test_019_to_etree (__main__.GenTest)
FAIL: test_020_catalogtest (__main__.GenTest)
ERROR: test_014_xsi_type (__main__.GenTest)
ERROR: test_017_attr_groups (__main__.GenTest)
I will also check in my change to GenTest.execute() so failing tests don't
accidentally get ignored.
Once complete I'll submit a pull request.
Thanks,
George
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users