[integration] Add check that the targets file was properly copied

This commit is contained in:
Alexander Karatarakis 2016-09-21 12:32:28 -07:00
parent 794122fef3
commit e2f34523dd

View File

@ -202,6 +202,8 @@ namespace vcpkg
default: default:
Checks::unreachable(); Checks::unreachable();
} }
Checks::check_exit(fs::exists(system_wide_targets_file), "Error: failed to copy targets file to %s", system_wide_targets_file.string());
} }
const fs::path appdata_src_path = tmp_dir / "vcpkg.user.targets"; const fs::path appdata_src_path = tmp_dir / "vcpkg.user.targets";