diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2007-05-21 17:52:50 (GMT) |
---|---|---|
committer | Benjamin Berg <benjamin@sipsolutions.net> | 2007-05-21 17:52:50 (GMT) |
commit | 9c8f5151f48ecca4c75f2be9f5722f47ec0844a5 (patch) | |
tree | 41ca1bad4034badb59877e132d8d4a975830ca6e | |
parent | 17487584b0d88ec267ee781a9166df2cb01a3a58 (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-- | .gitignore | 5 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rwxr-xr-x | test/gtk-engine-test.py | 4 |
4 files changed, 9 insertions, 3 deletions
@@ -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() |