diff options
-rw-r--r-- | rteval/hackbench.py | 5 | ||||
-rw-r--r-- | rteval/kcompile.py | 2 | ||||
-rw-r--r-- | rteval/rteval_text.xsl | 7 |
3 files changed, 8 insertions, 6 deletions
diff --git a/rteval/hackbench.py b/rteval/hackbench.py index 6451ce7..c705be0 100644 --- a/rteval/hackbench.py +++ b/rteval/hackbench.py @@ -115,10 +115,7 @@ class Hackbench(load.Load): os.close(err) def genxml(self, x): - if self.jobs: - x.taggedvalue('command_line', ' '.join(self.args), {'name':'hackbench'}) - else: - x.taggedvalue('command_line', "<not run>", {'name':'hackbench'}) + x.taggedvalue('command_line', ' '.join(self.args), {'name':'hackbench', 'run': self.jobs and '1' or '0'}) def create(params = {}): return Hackbench(params) diff --git a/rteval/kcompile.py b/rteval/kcompile.py index a3f755d..89705c5 100644 --- a/rteval/kcompile.py +++ b/rteval/kcompile.py @@ -147,7 +147,7 @@ class Kcompile(load.Load): os.close(err) def genxml(self, x): - x.taggedvalue('command_line', ' '.join(self.args), {'name':'kcompile'}) + x.taggedvalue('command_line', ' '.join(self.args), {'name':'kcompile', 'run':'1'}) def create(params = {}): return Kcompile(params) diff --git a/rteval/rteval_text.xsl b/rteval/rteval_text.xsl index fba3556..bdd8920 100644 --- a/rteval/rteval_text.xsl +++ b/rteval/rteval_text.xsl @@ -127,7 +127,12 @@ <xsl:text> - </xsl:text> <xsl:value-of select="@name"/> <xsl:text>: </xsl:text> - <xsl:value-of select="."/> + <xsl:choose> + <xsl:when test="@run = '1'"> + <xsl:value-of select="."/> + </xsl:when> + <xsl:otherwise>(Not run)</xsl:otherwise> + </xsl:choose> <xsl:text> </xsl:text> </xsl:template> |