fixed test that was creating ./build folder in codebase
@@ -6,7 +6,6 @@ import unittest
from nose.plugins.attrib import attr
from conans.test.utils.tools import TestClient
-from conans.util.files import mkdir
@attr('slow')
@@ -25,9 +24,8 @@ class CMakeFindPathMultiGeneratorTest(unittest.TestCase):
# Create packages for hello and bye
for p in ("hello", "bye"):
- with c.chdir(p):
for bt in ("Debug", "Release"):
- c.run("create . user/channel -s build_type={}".format(bt))
+ c.run("create {} user/channel -s build_type={}".format(p, bt))
with c.chdir(project_folder_name):
# Save conanfile and example
@@ -48,7 +46,6 @@ class CMakeFindPathMultiGeneratorTest(unittest.TestCase):
""")
c.save({"conanfile.txt": conanfile, "example.cpp": example_cpp})
- mkdir("./build")
with c.chdir("build"):
for bt in ("Debug", "Release"):
c.run("install .. user/channel -s build_type={}".format(bt))
