linux: Make test.py work.

This commit is contained in:
Cheng Zhao 2014-02-14 15:17:24 +00:00
parent 2b7b4a16f5
commit d698ecf017

View file

@ -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:])