gnome-python-extras r435 - in trunk: . tests
- From: gjc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-python-extras r435 - in trunk: . tests
- Date: Sun, 2 Mar 2008 22:39:41 +0000 (GMT)
Author: gjc
Date: Sun Mar 2 22:39:41 2008
New Revision: 435
URL: http://svn.gnome.org/viewvc/gnome-python-extras?rev=435&view=rev
Log:
testing fixes
Modified:
trunk/ChangeLog
trunk/tests/Makefile.am
trunk/tests/common.py
Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am (original)
+++ trunk/tests/Makefile.am Sun Mar 2 22:39:41 2008
@@ -1,5 +1,7 @@
tests =
+PYTHONPATH = $(top_builddir):$(top_srcdir):$(shell echo $$PYTHONPATH)
+
check-local:
@PYTHONPATH=$(PYTHONPATH) $(PYTHON) -W error $(srcdir)/runtests.py
Modified: trunk/tests/common.py
==============================================================================
--- trunk/tests/common.py (original)
+++ trunk/tests/common.py Sun Mar 2 22:39:41 2008
@@ -1,6 +1,7 @@
import os
import sys
import warnings
+import traceback
warnings.simplefilter('ignore', DeprecationWarning)
#warnings.simplefilter('ignore', ImportWarning)
@@ -33,7 +34,8 @@
if ex.args[0].startswith("No module named"):
print "not found"
else:
- raise
+ traceback.print_exc()
+ print "NOT ok"
else:
print "ok."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]