Skip to content

Commit

Permalink
Removing hack
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Avila <sebastianavila@google.com>
  • Loading branch information
sebastianavila5 committed Dec 26, 2024
1 parent 459b178 commit c2b13d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion benchmarks/dynamic_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
import sys

# Workaround for https://github.com/bazelbuild/rules_python/issues/1221
# sys.path += [os.path.dirname(__file__)]
sys.path += [os.path.dirname(__file__)]

if __name__ == '__main__':
path = os.path.dirname(os.path.realpath(__file__))
print("printing sys.path")
for p in sys.path:
print(p)
r = pytest.main([
"--rootdir=" + path, "-x", (path + '/dynamic_test/'), "-p", "no:cacheprovider", "--log-level",
"INFO", "--log-cli-level", "INFO", *sys.argv
Expand Down

0 comments on commit c2b13d7

Please sign in to comment.