update hil test to run on new pi5

This commit is contained in:
hathach
2024-07-15 17:46:20 +07:00
parent bd15f65e81
commit cc6806144f
3 changed files with 22 additions and 17 deletions

View File

@@ -330,7 +330,9 @@ def main():
config_file = args.config_file
boards = args.board
config_file = os.path.join(os.path.dirname(__file__), config_file)
# if config file is not found, try to find it in the same directory as this script
if not os.path.exists(config_file):
config_file = os.path.join(os.path.dirname(__file__), config_file)
with open(config_file) as f:
config = json.load(f)