diff options
author | Sakthipriyan Vairamani (thefourtheye) <thechargingvolcano@gmail.com> | 2017-01-04 23:02:42 +0530 |
---|---|---|
committer | Sakthipriyan Vairamani (thefourtheye) <thechargingvolcano@gmail.com> | 2017-01-04 23:17:59 +0530 |
commit | 26bf9545e0265f6ddd7aa5372fa9329dde50d03e (patch) | |
tree | 835429bb5cd4491b3839d0b81ad331f7bfc83740 /tools/test.py | |
parent | 59a61a2ba77798174ead2cf57c90c83af45a11f3 (diff) | |
download | node-new-26bf9545e0265f6ddd7aa5372fa9329dde50d03e.tar.gz |
Revert "test: test.py add option to use node in path"
This reverts commit 4198253a185e20b7a9d0fb363fabacece712200d.
PR-URL: https://github.com/nodejs/node/pull/10613
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools/test.py')
-rwxr-xr-x | tools/test.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/test.py b/tools/test.py index 18188e7b00..c8edca2b99 100755 --- a/tools/test.py +++ b/tools/test.py @@ -45,7 +45,6 @@ import errno import copy from os.path import join, dirname, abspath, basename, isdir, exists -from distutils.spawn import find_executable from datetime import datetime from Queue import Queue, Empty @@ -866,14 +865,6 @@ class Context(object): self.repeat = repeat def GetVm(self, arch, mode): - parser = BuildOptions() - (options, args) = parser.parse_args() - if not ProcessOptions(options): - parser.print_help() - return 1 - if options.path: - name = find_executable("node") - return name if arch == 'none': name = 'out/Debug/node' if mode == 'debug' else 'out/Release/node' else: @@ -1394,8 +1385,6 @@ def BuildOptions(): result.add_option('--repeat', help='Number of times to repeat given tests', default=1, type="int") - result.add_option('--path', - help='Use node in the path rather than out/Release', default=False, action="store_true") return result |