[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/test testutil.py
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/test testutil.py |
Date: |
Sat, 19 Oct 2002 10:35:41 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 02/10/19 10:35:41
Modified files:
test : testutil.py
Log message:
Improve messages
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/testutil.py.diff?tr1=1.30&tr2=1.31&r1=text&r2=text
Patches:
Index: gzz/test/testutil.py
diff -c gzz/test/testutil.py:1.30 gzz/test/testutil.py:1.31
*** gzz/test/testutil.py:1.30 Sat Oct 19 10:29:27 2002
--- gzz/test/testutil.py Sat Oct 19 10:35:41 2002
***************
*** 124,142 ****
compiledTestFile = compile(open(file).read() + '\n', file, 'exec')
tests = {}
- def jni(e, file=file):
- # A jni test
- if enableJNI == false:
- print file + " skipped: JNI required."
- return
- else:
- raise e
-
tests["needGL"] = needGL
try:
exec compiledTestFile in tests
except NeedGLError, e:
! print "Skipping test %s because it needs OpenGL compiled.", file
testnames = [t for t in tests.keys() if t.startswith('test')]
--- 124,134 ----
compiledTestFile = compile(open(file).read() + '\n', file, 'exec')
tests = {}
tests["needGL"] = needGL
try:
exec compiledTestFile in tests
except NeedGLError, e:
! print "Skipping OpenGL test %s" % file
testnames = [t for t in tests.keys() if t.startswith('test')]