Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2007-05-21 17:52:50 (GMT)
committer Benjamin Berg <benjamin@sipsolutions.net>2007-05-21 17:52:50 (GMT)
commit9c8f5151f48ecca4c75f2be9f5722f47ec0844a5 (patch)
tree41ca1bad4034badb59877e132d8d4a975830ca6e
parent17487584b0d88ec267ee781a9166df2cb01a3a58 (diff)
Ported over the testing code from gtk-engines.
I'll try to get converage reports and see if something is missing from the tests. I also need to check where all those leaks that valgrind reports in GTK+ are comming from and if it is save to ignore them.
-rw-r--r--.gitignore5
-rw-r--r--Makefile.am2
-rw-r--r--configure.in1
-rwxr-xr-xtest/gtk-engine-test.py4
4 files changed, 9 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index e1b96eb..07e4862 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,8 @@ stamp-h1
*~
gtk/theme/sugar.gtkrc
gtk/theme/sugar-xo.gtkrc
+compile
+test/engines
+test/torturetest
+test/torture_*
+test/exported_* \ No newline at end of file
diff --git a/Makefile.am b/Makefile.am
index f6a42b5..a163851 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = cursor icons gtk matchbox po
+SUBDIRS = cursor icons gtk matchbox po test
intltool_extra = intltool-extract.in intltool-merge.in intltool-update.in
diff --git a/configure.in b/configure.in
index 7ff4eb7..6a810f0 100644
--- a/configure.in
+++ b/configure.in
@@ -59,5 +59,6 @@ gtk/Makefile
gtk/engine/Makefile
gtk/theme/Makefile
matchbox/Makefile
+test/Makefile
po/Makefile.in
])
diff --git a/test/gtk-engine-test.py b/test/gtk-engine-test.py
index 4487002..d145207 100755
--- a/test/gtk-engine-test.py
+++ b/test/gtk-engine-test.py
@@ -47,8 +47,8 @@ class Base:
settings = gtk.settings_get_default()
-if settings.get_property('gtk-theme-name') != 'olpc':
- settings.set_string_property('gtk-theme-name', 'olpc', '')
+if settings.get_property('gtk-theme-name') != 'sugar':
+ settings.set_string_property('gtk-theme-name', 'sugar', '')
base = Base()
base.main()