Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley Pittman <[email protected]>
  • Loading branch information
ashleypittman committed Apr 9, 2024
1 parent 5196359 commit 982b410
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
20 changes: 0 additions & 20 deletions src/tests/ftest/util/avocado_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,26 +160,6 @@ def get_directory(self, directory):
logs_dir = self.get_logs_dir()
return os.path.join(logs_dir, directory)

def get_list_command(self):
"""Get the avocado list command for this version of avocado.
Returns:
list: avocado list command parts
"""
if self.major >= 83:
return ["avocado", "list"]
return ["avocado", "--paginator=off", "list"]

def get_list_regex(self):
"""Get the regular expression used to get the test file from the avocado list command.
Returns:
str: regular expression to use to get the test file from the avocado list command output
"""
if self.major >= 92:
return r"avocado-instrumented\s+(.*):"
return r"INSTRUMENTED\s+(.*):"

def get_run_command(self, test, tag_filters, sparse, failfast):
"""Get the avocado run command for this version of avocado.
Expand Down
1 change: 0 additions & 1 deletion src/tests/ftest/util/launch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,6 @@ def _generate_certs(self, logger):
certs_dir = os.path.join(test_env.log_dir, "daosCA")
certgen_dir = os.path.abspath(
os.path.join("..", "..", "..", "..", "lib64", "daos", "certgen"))
# os.path.join("..", "..", "..", "install", "lib64", "daos", "certgen"))
command = os.path.join(certgen_dir, "gen_certificates.sh")
try:
run_local(logger, f"/usr/bin/rm -rf {certs_dir}")
Expand Down

0 comments on commit 982b410

Please sign in to comment.