Author: sebastien.lelong
Date: Sat Jun 6 06:42:12 2009
New Revision: 1032
Modified:
trunk/tools/jallib.py
Log:
Modified: trunk/tools/jallib.py
==============================================================================
--- trunk/tools/jallib.py (original)
+++ trunk/tools/jallib.py Sat Jun 6 06:42:12 2009
@@ -841,12 +841,6 @@
def unittest(filename):
oracle = {'success' : None, 'failure' : None, 'notrun' : None}
content = file(filename).read().splitlines()
- testcases = parse_tags(content,"testcase")
- if testcases:
- assert len(testcases['testcase']) == 1, "%s declares more than
one test
case: %s" % (filename,testcases['testcase'].keys())
- testcase = testcases['testcase'].keys()[0]
- else:
- testcase = "noname"
try:
try:
status =
do_compile([filename],exitonerror=False,clean=False)
@@ -855,7 +849,7 @@
raise
if status == 0:
- print "%s compiled, running tests from testcase %s..."
%
(filename,testcase)
+ print "%s compiled, running tests..." % filename
jal = filename
asm = filename.replace(".jal",".asm")
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---