Revision: 30363 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30363 Author: leifandersen Date: 2010-07-15 05:43:21 +0200 (Thu, 15 Jul 2010)
Log Message: ----------- Okay, a few more bugs (am I committing too often?) 1. Now we're only generating HTML output if no extra files are added to the test case with -i or -a. 2. added style.css (ugly...to be changed...) Modified Paths: -------------- branches/soc-2010-leifandersen/tests/render/run.py Added Paths: ----------- branches/soc-2010-leifandersen/tests/render/style.css Modified: branches/soc-2010-leifandersen/tests/render/run.py =================================================================== --- branches/soc-2010-leifandersen/tests/render/run.py 2010-07-15 03:35:52 UTC (rev 30362) +++ branches/soc-2010-leifandersen/tests/render/run.py 2010-07-15 03:43:21 UTC (rev 30363) @@ -688,7 +688,7 @@ print 'FAILED' # Output Result - if not options.building_tests and len(args) > 0: + if not options.building_tests and len(args) == 0: print 'Generating Output' generate_output(cases, os.path.join(HTML_OUTPUT, 'index.html')) console_output(cases, options.building_tests, False) Added: branches/soc-2010-leifandersen/tests/render/style.css =================================================================== --- branches/soc-2010-leifandersen/tests/render/style.css (rev 0) +++ branches/soc-2010-leifandersen/tests/render/style.css 2010-07-15 03:43:21 UTC (rev 30363) @@ -0,0 +1,113 @@ +#navcontainer {height: 50px;margin: 0 auto;position: relative;width: 980px;} +#navcontainer img {width: 140px;height: 50px;} +#pageheader {background-image:url("bg.png");height:80px;position:relative;} +body {font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans","Lucida",Verdana,sans-serif;font-size: 12px;line-height: 145%;background-color: #000000;color: #ffffff;min-width: 980px;margin: 0;padding: 0;} +div.document {margin:20px auto 0;position:relative;text-align:left;width:980px;/* background-color: #1c4e63;*/} +div.documentwrapper {float: left;width: 100%;background-color: #232323;border-color: #363636;border-style:solid;border-width:0 1px;margin:0 auto;min-height:30em;padding:35px;/* position:relative;*/text-align:left;width:908px;} +div.bodywrapper {margin: 0 0 0 230px;} +div.body {background-color: #232323;color: #ffffff;padding: 0;width: 640px;} +div.bodywrapper {margin: 0 230px 0 0;} +div.footer {background: #292929;border-left: 1px solid #363636;border-right: 1px solid #363636color: #ffffff;/* width: 100%;*/margin: 0 auto;padding: 20px 20px 15px 35px;text-align: center;font-size: 75%;} +div.footer+.round b {display: block;background: #292929;width: auto;} +div.footer+.round #r1 {border-left: 1px solid #363636;border-right: 1px solid #363636;height: 2px;margin: 0 1px;} +div.footer+.round #r2 {border-left: 1px solid #363636;border-right: 1px solid #363636;height: 1px;margin: 0 2px;} +div.footer+.round #r3 {border-left: 1px solid #363636;border-right: 1px solid #363636;height: 1px;margin: 0 3px;} +div.footer+.round #r4 {border-bottom: 1px solid #363636;height: 0px;margin: 0 5px;} +div.footer a {color: #ffffff;text-decoration: underline;} +.boxheader {background-color:#3E4D5E;} +.subnav {height:auto !important;min-height:15px;padding:9px 0px 9px 37px;position:relative;} +div.related {width:auto;font-size:100%;font-weight:400;background-color: #2C3845;line-height: 145%;color: #D3E0E9;} +div.related li {font-size:0.9em;} +div.related li.right {margin: 0;word-spacing: 3px;} +div.subnav li {display:inline;list-style-type:none;margin:0;padding:0 7px 0 0;} +div.subnav ul {display:inline;margin:0;padding:0;} +.subnav a {font-weight: bold;color: #fff;} +.subnav li.subnav-active a {color:#F39410;} +div.related a {color: #D3E0E9;} +div.related a:active {color: #f39410;} +a {color: #97b9cf;text-decoration: none;} +a:hover {text-decoration: underline;} +div.body h2, +div.body h3, +div.body h4, +div.body h5, +div.body h6 {font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans","Lucida",Verdana,sans-serif;background-color: #232323;font-weight: bold;color: #ffffff;/* border-bottom: 1px solid #ccc;*/margin: 20px -20px 10px -20px;padding: 3px 0 3px 10px;} +div.body h1 { margin-top: 0; font-size: 200%; color:#FFFAE0;font-family:"Helvetica","Arial",sans-serif;font-size:34px;font-weight:normal;left:32px;line-height:26px;margin-top:0;position:absolute;top:36px;} +div.body h2 { font-size: 160%; } +div.body h3 { font-size: 140%; } +div.body h4 { font-size: 120%; } +div.body h5 { font-size: 110%; } +div.body h6 { font-size: 100%; } +a.headerlink {color: #97b9cf;font-size: 0.8em;padding: 0 4px 0 4px;text-decoration: none;} +h1:hover > a.headerlink {display:none;} +a.headerlink:hover {background-color: #97b9cf;color: white;} +div.body p, div.body dd, div.body li {text-align: justify;line-height: 130%;} +div.note, div.seealso, div.topic, div.warning {color:white;} +div.admonition p.admonition-title + p {display: inline;} +div.note {background-color: #555;border: 1px solid #ddd;} +div.seealso {background-color: #525241;border: 1px solid #ff6;} +div.topic {background-color: #eee;} +div.warning {background-color: #B64444;border: 1px solid #990606;} +p.admonition-title {display: inline;} +p.admonition-title:after {content: ":";} +dl div.admonition {border:medium none;margin:0;padding:2px 5px 2px 0;} +dl.class > dd > div.warning p.admonition-title, +dl.class > dd > div.note p.admonition-title {display:none;} +dl.class > dd > div.admonition.warning p, +dl.class > dd > div.admonition.note p {margin:0;} +dl.class > dd > div.admonition.warning, +dl.class > dd > div.admonition.note {margin-bottom:12px;} +dl div.admonition.note p.admonition-title, dl div.admonition.warning p.admonition-title {color:inherit;} +dl div.admonition.warning p {font-weight:bold;line-height:150%;} +dl div.admonition.warning p * {font-weight:normal;} +dl div.admonition p.admonition-title {color:#555555;display:block;float:left;margin:0;padding-right:12px;text-align:right;width:90px;} +dl div.admonition p.admonition-title+p, dl div.admonition p {display:block;margin:0 0 0 102px;} +dl div.note {background:none;color:#E8E481;} +dl div.warning {background:none;color:#FC3030;} +dl div.seealso {background:none;} +dl div.admonition.seealso p+p {color:#222;} +dl div.seealso a {margin-left:-1.3ex;} +div.admonition.warning pre {background: #0F0704;color: #fc3030;} +div.admonition pre {margin: 6px 0;overflow: visible;white-space: pre-wrap;} +pre {padding: 10px;background-color: #000;color: #fff;line-height: normal;border: 0 solid white;} +dl.function>dt, dl.method>dt {text-indent:-118px;padding-left: 118px;} +dl.function>dt em, dl.method>dt em {color: #97b9cf;} +dl.function>dd em, dl.method>dd em {color: #97b9cf;font-weight:bold;} +dl.function table.field-list tr:first-child td.field-body, dl.method table.field-list tr:first-child td.field-body {color: #728c96;} +dl.function>dt em:before, dl.method>dt em:before {content: " ";display: block;} +dl.function>dd>p,dl.method>dd>p,dl.attribute>dd>p, +dl[class]>dd>ol,dl[class]>dd>ul {color: #999;} +dl.data>dt {color:#08C659;} +dl.data>dd>p {color:#069643;} +dl.class>dt {color: #82a3c7;} +dl.class>dd>p,dl.class>dd>ol,dl.class>dd>ul {color: #637b96;} +dl.function>dt,dl.method>dt,dl.attribute>dt {color: #fcb100;} +dl.function>dd>p,dl.method>dd>p,dl.attribute>dd>p, +dl.function>dd>p+ol,dl.method>dd>p+ol,dl.attribute>dd>p+ol, +dl.function>dd>p+ul,dl.method>dd>p+ul,dl.attribute>dd>p+ul {color: #cb8f00;} +dl.function>dd>p, dl.method>dd>p, dl.attribute>dd>p {margin: 0 0 3px 102px;} +dl.function>dd>p:first-child:before, dl.method>dd>p:first-child:before, dl.attribute>dd>p:first-child:before {content:"Description:";color:#555;font-weight:bold;font-style:normal;width:90px;display:inline-block;margin-left:-102px;text-align:right;padding-right:12px;} +dt:target, .highlight {color: #444;background: #333;} +.highlight {background: #E2C788;} +h1 .highlight {color:inherit;background:inherit;} +dl {margin-bottom: 25px;} +dd {margin: 3px 0 10px 15px;} +.field-body tt.literal {font-weight: normal;} +tt {background-color: #444;padding: 0 1px 0 1px;font-size: 0.95em;} +.warning tt {background: #cc6262;} +.note tt {background: #444;} +dl .warning tt {background:#0F0704;display:block;} +dl .note tt {background:#2C2A1B;} +table.indextable tr.cap {background-color: transparent;} +col.field-name {width:90px;} +dd table {margin-bottom: 0;} +table.field-list th {color:#555;padding:0;text-align:right;} +table.field-list td.field-body {color:#999999;padding-left:12px;} +table.field-list td.field-body ul.first {padding-left:0;list-style:none;margin-left:0;} +dl.function>dd>ol, dl.method>dd>ol, dl.attribute>dd>ol, +dl.function>dd>ul, dl.method>dd>ul, dl.attribute>dd>ul, +dl.function>dd>div[class|="highlight"], dl.method>dd>div[class|="highlight"], +dl.attribute>dd>div[class|="highlight"] {margin-left:102px;} +dl.function>dd>ol, dl.method>dd>ol, dl.attribute>dd>ol, +dl.function>dd>ul, dl.method>dd>ul, dl.attribute>dd>ul, +dl.class>dd>ol, dl.class>dd>ul {padding-left:20px;} \ No newline at end of file _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs