From 4220867379e125b88a53d10207ac7bcf0abd7ee9 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 12 Aug 2008 14:23:40 +0000 Subject: Add simple check script. For now it only checks that the shell is started up. --- (limited to 'bin') 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() + + -- cgit v0.9.1