Lines Matching refs:demo
2 """Run the Mbed TLS demo scripts.
9 def run_demo(demo, quiet=False):
10 """Run the specified demo script. Return True if it succeeds."""
15 returncode = subprocess.call([demo], **args)
21 Return True if all demos passed and False if a demo fails.
24 for demo in demos:
26 print('#### {} ####'.format(demo))
27 success = run_demo(demo, quiet=quiet)
29 failures.append(demo)
31 print('{}: FAIL'.format(demo))
33 print('{}: {}'.format(demo, 'PASS' if success else 'FAIL'))
45 Return True if all demos passed and False if a demo fails.