/[gzz]/gzz/test/testutil.py
ViewVC logotype

Diff of /gzz/test/testutil.py

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

revision 1.22 by tjl, Sat Oct 12 12:58:36 2002 UTC revision 1.23 by tjl, Sun Oct 13 12:45:53 2002 UTC
# Line 28  One thing I'd really like would be *.spe Line 28  One thing I'd really like would be *.spe
28  can be tangled into unittests...  can be tangled into unittests...
29    
30  NOTE: testutil.py itself runs all tests in test/ when run as main.  NOTE: testutil.py itself runs all tests in test/ when run as main.
       test.py runs only tests in the test/gzz/ subtree.  
31  """  """
32  import sys  import sys
33  sys.path.insert(0, ".")  sys.path.insert(0, ".")
# Line 106  def load(file): Line 105  def load(file):
105          else:          else:
106              raise e              raise e
107            
108        tests["needGL"] = needGL
109      try:      try:
110          exec compiledTestFile in globals(), tests          exec compiledTestFile in tests
111      except NeedGLError, e:      except NeedGLError, e:
112          print "Skipping test %s because it needs OpenGL compiled.", file          print "Skipping test %s because it needs OpenGL compiled.", file
113            

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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