X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fframework.py;h=9c9351e4dacd88f1a10867d10fe56648ed17d172;hb=e8fa6209de1bf4f89cd57fcc09dfdc6086b92df9;hp=beea515df538c24973a47b0180f2a259d2e3f421;hpb=13a83ef4d4d05211601b023fa667b5332850fccc;p=vpp.git diff --git a/test/framework.py b/test/framework.py index beea515df53..9c9351e4dac 100644 --- a/test/framework.py +++ b/test/framework.py @@ -269,7 +269,7 @@ class VppTestCase(unittest.TestCase): print("Now is the time to attach a gdb by running the above " "command and set up breakpoints etc.") print(single_line_delim) - sys.stdin.readline("Press ENTER to continue running the testcase...") + raw_input("Press ENTER to continue running the testcase...") @classmethod def run_vpp(cls): @@ -383,9 +383,8 @@ class VppTestCase(unittest.TestCase): print(double_line_delim) print("VPP or GDB server is still running") print(single_line_delim) - sys.stdin.readline( - "When done debugging, press ENTER to kill the process and " - "finish running the testcase...") + raw_input("When done debugging, press ENTER to kill the " + "process and finish running the testcase...") os.write(cls.pump_thread_wakeup_pipe[1], 'ding dong wake up') cls.pump_thread_stop_flag.set()