Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2008-08-12 14:23:40 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2008-08-12 14:23:40 (GMT)
commit4220867379e125b88a53d10207ac7bcf0abd7ee9 (patch)
tree880ab5c13a858ed9679c9c8c1f2b5234930aedc8 /bin
parenta712da7c7f30c7e60567e766c8a6b2ef2e732c78 (diff)
Add simple check script. For now it only checks that
the shell is started up.
Diffstat (limited to 'bin')
-rw-r--r--bin/Makefile.am3
-rw-r--r--bin/sugar-ui-check26
-rw-r--r--bin/sugar-ui-check.in26
3 files changed, 54 insertions, 1 deletions
diff --git a/bin/Makefile.am b/bin/Makefile.am
index ca6ddef..dbaaa2d 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -7,7 +7,8 @@ bin_SCRIPTS = \
sugar-install-bundle \
sugar-launch \
sugar-shell \
- sugar-shell-service
+ sugar-shell-service \
+ sugar-ui-check
EXTRA_DIST = $(bin_SCRIPTS) sugar.in
diff --git a/bin/sugar-ui-check b/bin/sugar-ui-check
new file mode 100644
index 0000000..8399872
--- /dev/null
+++ b/bin/sugar-ui-check
@@ -0,0 +1,26 @@
+#!/usr/bin/env python
+# Copyright (C) 2008, Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+import sys
+
+sys.path.insert(0, '/home/marco/sugar-jhbuild/install/share/sugar/shell')
+
+import uicheck
+
+uicheck.main()
+
+
diff --git a/bin/sugar-ui-check.in b/bin/sugar-ui-check.in
new file mode 100644
index 0000000..03166ab
--- /dev/null
+++ b/bin/sugar-ui-check.in
@@ -0,0 +1,26 @@
+#!/usr/bin/env python
+# Copyright (C) 2008, Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+import sys
+
+sys.path.insert(0, '@prefix@/share/sugar/shell')
+
+import uicheck
+
+uicheck.main()
+
+