diff options
Diffstat (limited to 't/recipes/checks/build-systems/cmake/cruft-general-native')
6 files changed, 48 insertions, 0 deletions
diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/rules b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/substvars b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/fill-values b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/fill-values new file mode 100644 index 0000000..8460259 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-general-native +Description: Check for cruft in a native package diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/pre-build b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/pre-build new file mode 100755 index 0000000..c594074 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/build-spec/pre-build @@ -0,0 +1,32 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/desc b/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/desc new file mode 100644 index 0000000..b61ccf2 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-general-native +Check: build-systems/cmake diff --git a/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/hints b/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/hints new file mode 100644 index 0000000..352bbe8 --- /dev/null +++ b/t/recipes/checks/build-systems/cmake/cruft-general-native/eval/hints @@ -0,0 +1 @@ +cruft-general-native (source): source-contains-cmake-cache-file [CMakeCache.txt] |