Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced 'node' by 'nodejs' in Popen() and check_call() calls #1440

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions validator/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def GenerateValidateBin(out_dir):
def RunSmokeTest(out_dir):
logging.info('entering ...')
# Run dist/validate on the minimum valid amp and observe that it passes.
p = subprocess.Popen(['node', '%s/validate' % out_dir,
p = subprocess.Popen(['nodejs', '%s/validate' % out_dir,
'testdata/feature_tests/minimum_valid_amp.html'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
(stdout, stderr) = p.communicate()
Expand All @@ -270,7 +270,7 @@ def RunSmokeTest(out_dir):

# Run dist/validate on an empty file and observe that it fails.
open('%s/empty.html' % out_dir, 'w').close()
p = subprocess.Popen(['node', '%s/validate' % out_dir, '%s/empty.html' % out_dir],
p = subprocess.Popen(['nodejs', '%s/validate' % out_dir, '%s/empty.html' % out_dir],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
(stdout, stderr) = p.communicate()
if p.returncode != 1:
Expand Down Expand Up @@ -334,7 +334,7 @@ def GenerateTestRunner(out_dir):

def RunTests(out_dir):
logging.info('entering ...')
subprocess.check_call(['node', '%s/test_runner' % out_dir])
subprocess.check_call(['nodejs', '%s/test_runner' % out_dir])
logging.info('... success')


Expand Down