diff --git a/CHANGELOG.md b/CHANGELOG.md index 829a5bdd5..347dbb71f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ Documentation for rocPRIM is available at [https://rocm.docs.amd.com/projects/rocPRIM/en/latest/](https://rocm.docs.amd.com/projects/rocPRIM/en/latest/). +## Unreleased rocPRIM-3.3.0 for ROCm 6.3.0 + +### Fixes +* Fixed an issue where while running rtest.py on windows and passing in an absolute path to --install_dir + causes FileNotFound error + + ## Unreleased rocPRIM-3.2.0 for ROCm 6.2.0 ### Additions diff --git a/rtest.py b/rtest.py index 4f50f6965..8ee7ca03d 100644 --- a/rtest.py +++ b/rtest.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -"""Copyright 2021 Advanced Micro Devices, Inc. +"""Copyright (c) 2021-2024 Advanced Micro Devices, Inc. All rights reserved. Run tests on build""" import re @@ -211,7 +211,9 @@ def batch(script, xml): else: if args.debug: build_type = "debug" else: build_type = "release" - test_dir = f"{args.install_dir}//{build_type}//test" + # deal with windows pathing + install_dir = '//'.join(args.install_dir.split('\\')) + test_dir = f"{install_dir}//{build_type}//test" fail = False for i in range(len(script)): cmdline = script[i]