... |
... |
@@ -19,7 +19,7 @@ DATA_DIR = os.path.join( |
19
|
19
|
@pytest.mark.parametrize("target,varname,expected", [
|
20
|
20
|
('autotools.bst', 'make-install', "make -j1 DESTDIR=\"/buildstream-install\" install"),
|
21
|
21
|
('cmake.bst', 'cmake',
|
22
|
|
- "cmake -B_builddir -H\"./\" -G\"Unix Makefiles\" " + "-DCMAKE_INSTALL_PREFIX:PATH=\"/usr\" \\\n" +
|
|
22
|
+ "cmake -B_builddir -H\".\" -G\"Unix Makefiles\" " + "-DCMAKE_INSTALL_PREFIX:PATH=\"/usr\" \\\n" +
|
23
|
23
|
"-DCMAKE_INSTALL_LIBDIR=lib "),
|
24
|
24
|
('distutils.bst', 'python-install',
|
25
|
25
|
"python3 setup.py install --prefix \"/usr\" \\\n" +
|
... |
... |
@@ -45,7 +45,7 @@ def test_defaults(cli, datafiles, tmpdir, target, varname, expected): |
45
|
45
|
@pytest.mark.parametrize("target,varname,expected", [
|
46
|
46
|
('autotools.bst', 'make-install', "make -j1 DESTDIR=\"/custom/install/root\" install"),
|
47
|
47
|
('cmake.bst', 'cmake',
|
48
|
|
- "cmake -B_builddir -H\"./\" -G\"Ninja\" " + "-DCMAKE_INSTALL_PREFIX:PATH=\"/opt\" \\\n" +
|
|
48
|
+ "cmake -B_builddir -H\".\" -G\"Ninja\" " + "-DCMAKE_INSTALL_PREFIX:PATH=\"/opt\" \\\n" +
|
49
|
49
|
"-DCMAKE_INSTALL_LIBDIR=lib "),
|
50
|
50
|
('distutils.bst', 'python-install',
|
51
|
51
|
"python3 setup.py install --prefix \"/opt\" \\\n" +
|