From d698ecf017ba22893af4be57d071cdc4f5e44e2c Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 14 Feb 2014 15:17:24 +0000 Subject: [PATCH] linux: Make test.py work. --- script/test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/test.py b/script/test.py index 54601a6e7216..c21e52ab548c 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:])