MCPcopy Index your code
hub / github.com/streamlit/streamlit / main

Function main

scripts/run_bare_execution_tests.py:107–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105
106
107def main() -> None:
108 filenames = _get_filenames(E2E_DIRS)
109 commands = [f"python {filename}" for filename in filenames]
110 failed = run_commands("bare scripts", commands)
111
112 if len(failed) == 0:
113 click.secho("All scripts succeeded!", fg="green", bold=True)
114 sys.exit(0)
115 else:
116 click.secho(
117 "\n".join(_command_to_string(command) for command in failed), fg="red"
118 )
119 click.secho(f"\n{len(failed)} failed scripts: {failed}", fg="red", bold=True)
120 sys.exit(-1)
121
122
123if __name__ == "__main__":

Callers 1

Calls 4

_get_filenamesFunction · 0.85
run_commandsFunction · 0.85
_command_to_stringFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…