Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-08 14:54:01 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-12-08 14:54:01 (GMT)
commit3f05816ea746124ca2b91842ba5f8bb5175c2068 (patch)
tree65b60ba9fc590c965d172545bf653b84205267ff /commands
parentce2d2cdd3372d4a58806f0a178f0a410357f96a2 (diff)
Add per module tests to the check target
Diffstat (limited to 'commands')
-rwxr-xr-xcommands/run-tests (renamed from commands/test-ui)4
1 files changed, 4 insertions, 0 deletions
diff --git a/commands/test-ui b/commands/run-tests
index 5686ebd..a9919df 100755
--- a/commands/test-ui
+++ b/commands/run-tests
@@ -7,6 +7,7 @@ import sys
import common
from devbot import run
+from devbot import test
common.setup()
@@ -14,6 +15,9 @@ os.environ["SUGAR_LOGGER_LEVEL"] = "debug"
os.environ["SUGAR_PROFILE"] = "uitests"
os.environ["GTK_MODULES"] = "gail:atk-bridge"
+if not test.test():
+ sys.exit(1)
+
profile_path = os.path.expanduser("~/.sugar/uitests")
shutil.rmtree(profile_path, ignore_errors=True)