You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to have a test be able to supply additional files to be copied to the build_directory at the beginning of the build. For example, an alternative Makefile or a specific source file that is only needed for a specific test. For example:
But unfortunately, the dirs_exist_ok keyword was not until Python 3.8, and Frontier's default Python is 3.6. Given we have numerous machines that don't yet have Python 3.8 as default, this doesn't feel like a viable solution. Prior to Python 3.8, shutil.copytree does not support overwriting a directory that already exists. The dst directory must not exist.
After talking with Asa, I think the best solution is to have an if conditional -- if Python version > 3.8 is found, then use this dirs_exist_ok keyword. Otherwise, spawn a subprocess and use the Unix cp.
It would be useful to have a test be able to supply additional files to be copied to the
build_directory
at the beginning of the build. For example, an alternative Makefile or a specific source file that is only needed for a specific test. For example:The text was updated successfully, but these errors were encountered: