You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/04/05 10:05:02 UTC

[buildstream-plugins] 47/49: tests/sources/patch: Use locally defined patch source

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit 0720a3735fe64ca159f3f2d489c63433dce677fa
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Tue Apr 5 18:36:17 2022 +0900

    tests/sources/patch: Use locally defined patch source
    
    Instead of the buildstream core patch source which will be removed
---
 tests/sources/patch/basic/project.conf                 | 6 ++++++
 tests/sources/patch/different-strip-level/project.conf | 6 ++++++
 tests/sources/patch/invalid-relative-path/project.conf | 6 ++++++
 tests/sources/patch/multiple-patches/project.conf      | 6 ++++++
 tests/sources/patch/separate-patch-dir/project.conf    | 6 ++++++
 5 files changed, 30 insertions(+)

diff --git a/tests/sources/patch/basic/project.conf b/tests/sources/patch/basic/project.conf
index dc34380..944e7f6 100644
--- a/tests/sources/patch/basic/project.conf
+++ b/tests/sources/patch/basic/project.conf
@@ -1,3 +1,9 @@
 # Basic project
 name: foo
 min-version: 2.0
+
+plugins:
+- origin: pip
+  package-name: buildstream-plugins
+  sources:
+  - patch
diff --git a/tests/sources/patch/different-strip-level/project.conf b/tests/sources/patch/different-strip-level/project.conf
index dc34380..944e7f6 100644
--- a/tests/sources/patch/different-strip-level/project.conf
+++ b/tests/sources/patch/different-strip-level/project.conf
@@ -1,3 +1,9 @@
 # Basic project
 name: foo
 min-version: 2.0
+
+plugins:
+- origin: pip
+  package-name: buildstream-plugins
+  sources:
+  - patch
diff --git a/tests/sources/patch/invalid-relative-path/project.conf b/tests/sources/patch/invalid-relative-path/project.conf
index dc34380..944e7f6 100644
--- a/tests/sources/patch/invalid-relative-path/project.conf
+++ b/tests/sources/patch/invalid-relative-path/project.conf
@@ -1,3 +1,9 @@
 # Basic project
 name: foo
 min-version: 2.0
+
+plugins:
+- origin: pip
+  package-name: buildstream-plugins
+  sources:
+  - patch
diff --git a/tests/sources/patch/multiple-patches/project.conf b/tests/sources/patch/multiple-patches/project.conf
index dc34380..944e7f6 100644
--- a/tests/sources/patch/multiple-patches/project.conf
+++ b/tests/sources/patch/multiple-patches/project.conf
@@ -1,3 +1,9 @@
 # Basic project
 name: foo
 min-version: 2.0
+
+plugins:
+- origin: pip
+  package-name: buildstream-plugins
+  sources:
+  - patch
diff --git a/tests/sources/patch/separate-patch-dir/project.conf b/tests/sources/patch/separate-patch-dir/project.conf
index dc34380..944e7f6 100644
--- a/tests/sources/patch/separate-patch-dir/project.conf
+++ b/tests/sources/patch/separate-patch-dir/project.conf
@@ -1,3 +1,9 @@
 # Basic project
 name: foo
 min-version: 2.0
+
+plugins:
+- origin: pip
+  package-name: buildstream-plugins
+  sources:
+  - patch