diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-08 14:54:01 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-08 14:54:01 (GMT) |
commit | 3f05816ea746124ca2b91842ba5f8bb5175c2068 (patch) | |
tree | 65b60ba9fc590c965d172545bf653b84205267ff /commands | |
parent | ce2d2cdd3372d4a58806f0a178f0a410357f96a2 (diff) |
Add per module tests to the check target
Diffstat (limited to 'commands')
-rwxr-xr-x | commands/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) |