Fix bug in bisect-skip-count not using passed-in arguments
authorDaniel Berlin <dberlin@dberlin.org>
Sat, 4 Mar 2017 03:23:41 +0000 (03:23 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Sat, 4 Mar 2017 03:23:41 +0000 (03:23 +0000)
llvm-svn: 296961

llvm/utils/bisect-skip-count

index ee7f0dc..b18b4f4 100755 (executable)
@@ -61,7 +61,7 @@ while start != end and start != end-1:
     cmd = [x % {'count':count, 'skip':firstcount } for x in args.command]
     print cmd
     try:
-        result = subprocess.call(cmd, shell=True, timeout=20)
+        result = subprocess.call(cmd, shell=args.shell, timeout=args.timeout)
         if result == 0:
            print("    PASSES! Setting start to count")
            start = count