diff options
author | Phil Dawson <phildawson.0807@gmail.com> | 2018-10-16 13:19:56 +0000 |
---|---|---|
committer | Phil Dawson <phildawson.0807@gmail.com> | 2018-10-16 13:19:56 +0000 |
commit | 0a5db2290eddf7197cb499c060836ae79d27fe53 (patch) | |
tree | 408124e031f8584516d77d5b924da729da8758d1 /tests/format/variables.py | |
parent | 086c47c44b35c1041d39fafa4fed455ffd165433 (diff) | |
parent | 118704a9f0233ca28407db8b2bfbad2673bf3521 (diff) | |
download | buildstream-0a5db2290eddf7197cb499c060836ae79d27fe53.tar.gz |
Merge branch 'willsalmon/outOfSourecBuild' into 'master'
Out of source builds
Closes #512
See merge request BuildStream/buildstream!776
Diffstat (limited to 'tests/format/variables.py')
-rw-r--r-- | tests/format/variables.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/format/variables.py b/tests/format/variables.py index d01d87e5b..26bb3db98 100644 --- a/tests/format/variables.py +++ b/tests/format/variables.py @@ -19,10 +19,10 @@ DATA_DIR = os.path.join( @pytest.mark.parametrize("target,varname,expected", [ ('autotools.bst', 'make-install', "make -j1 DESTDIR=\"/buildstream-install\" install"), ('cmake.bst', 'cmake', - "cmake -B_builddir -H. -G\"Unix Makefiles\" -DCMAKE_INSTALL_PREFIX:PATH=\"/usr\" \\\n" + + "cmake -B_builddir -H\".\" -G\"Unix Makefiles\" " + "-DCMAKE_INSTALL_PREFIX:PATH=\"/usr\" \\\n" + "-DCMAKE_INSTALL_LIBDIR=lib "), ('distutils.bst', 'python-install', - "python3 setup.py install --prefix \"/usr\" \\\n" + + "python3 ./setup.py install --prefix \"/usr\" \\\n" + "--root \"/buildstream-install\""), ('makemaker.bst', 'configure', "perl Makefile.PL PREFIX=/buildstream-install/usr"), ('modulebuild.bst', 'configure', "perl Build.PL --prefix \"/buildstream-install/usr\""), @@ -45,10 +45,10 @@ def test_defaults(cli, datafiles, tmpdir, target, varname, expected): @pytest.mark.parametrize("target,varname,expected", [ ('autotools.bst', 'make-install', "make -j1 DESTDIR=\"/custom/install/root\" install"), ('cmake.bst', 'cmake', - "cmake -B_builddir -H. -G\"Ninja\" -DCMAKE_INSTALL_PREFIX:PATH=\"/opt\" \\\n" + + "cmake -B_builddir -H\".\" -G\"Ninja\" " + "-DCMAKE_INSTALL_PREFIX:PATH=\"/opt\" \\\n" + "-DCMAKE_INSTALL_LIBDIR=lib "), ('distutils.bst', 'python-install', - "python3 setup.py install --prefix \"/opt\" \\\n" + + "python3 ./setup.py install --prefix \"/opt\" \\\n" + "--root \"/custom/install/root\""), ('makemaker.bst', 'configure', "perl Makefile.PL PREFIX=/custom/install/root/opt"), ('modulebuild.bst', 'configure', "perl Build.PL --prefix \"/custom/install/root/opt\""), |