/[fenfire]/fenfire/org/fenfire/test/test.py
ViewVC logotype

Diff of /fenfire/org/fenfire/test/test.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by benja, Sat Mar 1 09:24:15 2003 UTC revision 1.2 by benja, Mon Mar 3 18:33:01 2003 UTC
# Line 42  import java, gzz Line 42  import java, gzz
42  import getopt  import getopt
43  import fnmatch  import fnmatch
44  import re  import re
45    import traceback
46  import org.fenfire.test.dbg  import org.fenfire.test.dbg
47    
48  def test(module):  def test(module):
# Line 159  def startGraphicsAPI(dirs): Line 160  def startGraphicsAPI(dirs):
160    
161              for file in tests(self.dirs):              for file in tests(self.dirs):
162                  exceptions.extend(test(load(file)))                  exceptions.extend(test(load(file)))
163    
164                    print
165    
166                    for exc in exceptions:
167                        traceback.print_exc(*exc['exception'])
168                                    
169                  print                  print
170                  print "%s test failures." % len(exceptions)                  print "%s test failures." % len(exceptions)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26