File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import sys
22from pathlib import Path
33
4- # from codeflash.benchmarking.codeflash_trace import codeflash_trace
5- # from codeflash.benchmarking.plugin.plugin import codeflash_benchmark_plugin
4+ from codeflash .benchmarking .codeflash_trace import codeflash_trace
5+ from codeflash .benchmarking .plugin .plugin import codeflash_benchmark_plugin
66
77benchmarks_root = sys .argv [1 ]
88tests_root = sys .argv [2 ]
1717 original_limit = sys .getrecursionlimit ()
1818 sys .setrecursionlimit (max (2000 , original_limit * 2 ))
1919
20- # codeflash_benchmark_plugin.setup(trace_file, project_root)
21- # codeflash_trace.setup(trace_file)
20+ codeflash_benchmark_plugin .setup (trace_file , project_root )
21+ codeflash_trace .setup (trace_file )
2222 exitcode = pytest .main (
2323 [
2424 benchmarks_root ,
3535 "-o" ,
3636 "addopts=" ,
3737 ],
38- # plugins=[codeflash_benchmark_plugin],
38+ plugins = [codeflash_benchmark_plugin ],
3939 ) # Errors will be printed to stdout, not stderr
4040
4141 sys .setrecursionlimit (original_limit )
You can’t perform that action at this time.
0 commit comments