diff options
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) |