mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-07 21:24:06 -05:00
quads and raws fix (#169)
This commit is contained in:
@@ -80,7 +80,7 @@ def download_scene(scene: BlenderScene) -> None:
|
||||
|
||||
def copy_scene_from_network_drive(file_name, destination):
|
||||
"""copy blend file from network drive"""
|
||||
network_dir = Path("\\\\labs.lmg.gg\\labs.lmg.gg\\03_ProcessingFiles\\Blender Render")
|
||||
network_dir = Path("\\\\labs.lmg.gg\\labs\\03_ProcessingFiles\\Blender Render")
|
||||
source_path = network_dir.joinpath(file_name)
|
||||
logging.info("Copying %s from %s", file_name, source_path)
|
||||
shutil.copyfile(source_path, destination)
|
||||
|
||||
@@ -24,7 +24,7 @@ def install_mingw() -> str:
|
||||
if str(MINGW_FOLDER) not in original_path:
|
||||
os.environ['PATH'] = str(MINGW_FOLDER.joinpath('bin')) + os.pathsep + original_path
|
||||
return "existing mingw installation detected"
|
||||
source = Path("\\\\labs.lmg.gg\\labs.lmg.gg\\01_Installers_Utilities\\MinGW\\").joinpath(MINGW_ZIP)
|
||||
source = Path("\\\\labs.lmg.gg\\labs\\01_Installers_Utilities\\MinGW\\").joinpath(MINGW_ZIP)
|
||||
destination = SCRIPT_DIR.joinpath(MINGW_ZIP)
|
||||
shutil.copyfile(source, destination)
|
||||
with ZipFile(destination, 'r') as zip_object:
|
||||
@@ -36,7 +36,7 @@ def install_mingw() -> str:
|
||||
|
||||
def copy_miniconda_from_network_drive():
|
||||
"""copies miniconda installer from network drive"""
|
||||
source = Path("\\\\labs.lmg.gg\\labs.lmg.gg\\01_Installers_Utilities\\Miniconda\\").joinpath(
|
||||
source = Path("\\\\labs.lmg.gg\\labs\\01_Installers_Utilities\\Miniconda\\").joinpath(
|
||||
MINICONDA_INSTALLER)
|
||||
destination = SCRIPT_DIR.joinpath(MINICONDA_INSTALLER)
|
||||
shutil.copyfile(source, destination)
|
||||
@@ -72,7 +72,7 @@ def copy_godot_source_from_network_drive() -> str:
|
||||
if SCRIPT_DIR.joinpath(GODOT_DIR).is_dir():
|
||||
return "existing godot source directory detected"
|
||||
zip_name = f"{GODOT_DIR}.zip"
|
||||
source = Path("\\\\labs.lmg.gg\\labs.lmg.gg\\03_ProcessingFiles\\Godot Files\\").joinpath(zip_name)
|
||||
source = Path("\\\\labs.lmg.gg\\labs\\03_ProcessingFiles\\Godot Files\\").joinpath(zip_name)
|
||||
destination = SCRIPT_DIR.joinpath(zip_name)
|
||||
shutil.copyfile(source, destination)
|
||||
with ZipFile(destination, 'r') as zip_object:
|
||||
|
||||
@@ -18,7 +18,7 @@ def handbrake_present() -> bool:
|
||||
def copy_handbrake_from_network_drive():
|
||||
"""copy handbrake cli from network drive"""
|
||||
source = Path(
|
||||
"\\\\labs.lmg.gg\\labs.lmg.gg\\01_Installers_Utilities\\Handbrake\\X86\\HandBrakeCLI-1.9.1-win-x86_64\\")
|
||||
"\\\\labs.lmg.gg\\labs\\01_Installers_Utilities\\Handbrake\\X86\\HandBrakeCLI-1.9.1-win-x86_64\\")
|
||||
copy_souce = source / HANDBRAKE_EXECUTABLE
|
||||
destination = SCRIPT_DIR / HANDBRAKE_EXECUTABLE
|
||||
shutil.copyfile(copy_souce, destination)
|
||||
|
||||
@@ -77,7 +77,7 @@ def copy_benchmarkfiles() -> None:
|
||||
|
||||
def copy_save_from_network_drive(file_name, destination):
|
||||
"""copy save file from network drive"""
|
||||
network_dir = Path("\\\\labs.lmg.gg\\labs.lmg.gg\\03_ProcessingFiles\\Stellaris")
|
||||
network_dir = Path("\\\\labs.lmg.gg\\labs\\03_ProcessingFiles\\Stellaris")
|
||||
source_path = network_dir.joinpath(file_name)
|
||||
logging.info("Copying %s from %s", file_name, source_path)
|
||||
shutil.copyfile(source_path, destination)
|
||||
|
||||
Reference in New Issue
Block a user