From: Cheng Zhao Date: Fri, 14 Feb 2014 15:17:24 +0000 (+0000) Subject: linux: Make test.py work. X-Git-Tag: v0.10.0~6^2~20 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d698ecf017ba22893af4be57d071cdc4f5e44e2c;p=electron.git linux: Make test.py work. --- diff --git a/script/test.py b/script/test.py index 54601a6e..c21e52ab 100755 --- a/script/test.py +++ b/script/test.py @@ -14,8 +14,10 @@ def main(): if sys.platform == 'darwin': atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'Atom.app', 'Contents', 'MacOS', 'Atom') - else: + elif sys.platform == 'win32': atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom.exe') + else: + atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom') subprocess.check_call([atom_shell, 'spec'] + sys.argv[1:])