fixed test so it doesnt create build folder in repo
@@ -173,6 +173,7 @@ class CMakeTest(unittest.TestCase):
conan_file.settings = settings
conan_file.source_folder = os.path.join(self.tempdir, "my_cache_source_folder")
conan_file.build_folder = os.path.join(self.tempdir, "my_cache_build_folder")
+ with tools.chdir(self.tempdir):
cmake = CMake(conan_file)
cmake.configure(source_dir="../subdir", build_dir="build")
linux_stuff = '-DCMAKE_SYSTEM_NAME="Linux" ' \
@@ -773,7 +774,6 @@ build_type: [ Release]
cmake = CMake(conan_file)
self.assertIn('-T "v140"', cmake.command_line)
-
def test_missing_settings(self):
def instance_with_os_build(os_build):
settings = Settings.loads(default_settings_yml)
