mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 11:44:31 +02:00
ci: Adjust more 'spawn' settings in test_confserver
This commit is contained in:
@@ -56,9 +56,7 @@ def main():
|
|||||||
|
|
||||||
cmdline = "../confserver.py --kconfig Kconfig --config %s" % temp_sdkconfig_path
|
cmdline = "../confserver.py --kconfig Kconfig --config %s" % temp_sdkconfig_path
|
||||||
print("Running: %s" % cmdline)
|
print("Running: %s" % cmdline)
|
||||||
p = pexpect.spawn(cmdline, timeout=0.5)
|
p = pexpect.spawn(cmdline, timeout=30, logfile=args.logfile, echo=False, use_poll=True, maxread=1)
|
||||||
p.logfile = args.logfile
|
|
||||||
p.setecho(False)
|
|
||||||
|
|
||||||
def expect_json():
|
def expect_json():
|
||||||
# run p.expect() to expect a json object back, and return it as parsed JSON
|
# run p.expect() to expect a json object back, and return it as parsed JSON
|
||||||
|
Reference in New Issue
Block a user