OSDN Git Service

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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296961 91177308-0d34-0410-b5e6-96231b3b80d8

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