xmpedit

GTK+ editor for XMP metadata embedded in images
git clone https://code.djc.id.au/git/xmpedit/
commit 032c13e7aa8ddbfe460b1f02af4b588fee2faa8c
parent 002f421a8da7ff536e8f5aa9c6f38db8c3a4ecc1
Author: Dan Callaghan <djc@djc.id.au>
Date:   Sun, 19 Sep 2010 19:53:25 +1000

enable some extra debugging goodness in gui tests

Diffstat:
Mtest/guitest.py | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/test/guitest.py b/test/guitest.py
@@ -26,7 +26,12 @@ class XmpeditTestCase(unittest.TestCase):
         self.tempfile.flush()
         self.tempfile.seek(0)
         self.popen = subprocess.Popen(
-                [os.path.join('target', 'xmpedit'), self.tempfile.name])
+                [os.path.join('target', 'xmpedit'), self.tempfile.name],
+                env=dict(os.environ.items() + [
+                    ('G_DEBUG', 'fatal_criticals'),
+                    ('G_SLICE', 'debug-blocks'),
+                    ('GNOME_DISABLE_CRASH_DIALOG', '1')
+                ]))
 
     def stop(self):
         if self.popen.returncode is None: