summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/languages/fortran
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/languages/fortran
parentInitial commit. (diff)
downloadlintian-upstream.tar.xz
lintian-upstream.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/languages/fortran')
-rw-r--r--t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/debian/install1
-rw-r--r--t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/fill-values3
-rwxr-xr-xt/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/orig/fortran/mpi.modbin0 -> 103 bytes
-rw-r--r--t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/eval/desc5
-rw-r--r--t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/eval/hints1
-rw-r--r--t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/debian/install1
-rw-r--r--t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/fill-values3
-rwxr-xr-xt/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/orig/fortran/mpi.modbin0 -> 106 bytes
-rw-r--r--t/recipes/checks/languages/fortran/gfortran/no-module-version/eval/desc5
-rw-r--r--t/recipes/checks/languages/fortran/gfortran/no-module-version/eval/hints1
10 files changed, 20 insertions, 0 deletions
diff --git a/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/debian/install b/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/debian/install
new file mode 100644
index 0000000..73a6d47
--- /dev/null
+++ b/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/debian/install
@@ -0,0 +1 @@
+fortran/* usr/lib/fortran/
diff --git a/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/fill-values b/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/fill-values
new file mode 100644
index 0000000..ad604ba
--- /dev/null
+++ b/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: missing-prerequisite-for-module
+Skeleton: upload-native
+Description: Tests missing a prerequisite for GFORTRAN modules
diff --git a/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/orig/fortran/mpi.mod b/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/orig/fortran/mpi.mod
new file mode 100755
index 0000000..2657e91
--- /dev/null
+++ b/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/build-spec/orig/fortran/mpi.mod
Binary files differ
diff --git a/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/eval/desc b/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/eval/desc
new file mode 100644
index 0000000..84f5dc0
--- /dev/null
+++ b/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/eval/desc
@@ -0,0 +1,5 @@
+Testname: missing-prerequisite-for-module
+Check: languages/fortran/gfortran
+See-Also: Debian Bug #796352,
+ Debian Bug #714730,
+ https://salsa.debian.org/science-team/dh-fortran-mod/blob/debian/master/dh_fortran_mod.in
diff --git a/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/eval/hints b/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/eval/hints
new file mode 100644
index 0000000..7777150
--- /dev/null
+++ b/t/recipes/checks/languages/fortran/gfortran/missing-prerequisite-for-module/eval/hints
@@ -0,0 +1 @@
+missing-prerequisite-for-module (binary): missing-prerequisite-for-gfortran-module [usr/lib/fortran/mpi.mod]
diff --git a/t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/debian/install b/t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/debian/install
new file mode 100644
index 0000000..73a6d47
--- /dev/null
+++ b/t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/debian/install
@@ -0,0 +1 @@
+fortran/* usr/lib/fortran/
diff --git a/t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/fill-values b/t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/fill-values
new file mode 100644
index 0000000..ad39210
--- /dev/null
+++ b/t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: no-module-version
+Skeleton: upload-native
+Description: GFORTRAN module missing a gfortran module version
diff --git a/t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/orig/fortran/mpi.mod b/t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/orig/fortran/mpi.mod
new file mode 100755
index 0000000..8367a24
--- /dev/null
+++ b/t/recipes/checks/languages/fortran/gfortran/no-module-version/build-spec/orig/fortran/mpi.mod
Binary files differ
diff --git a/t/recipes/checks/languages/fortran/gfortran/no-module-version/eval/desc b/t/recipes/checks/languages/fortran/gfortran/no-module-version/eval/desc
new file mode 100644
index 0000000..7d7c555
--- /dev/null
+++ b/t/recipes/checks/languages/fortran/gfortran/no-module-version/eval/desc
@@ -0,0 +1,5 @@
+Testname: no-module-version
+Check: languages/fortran/gfortran
+See-Also: Debian Bug #796352,
+ Debian Bug #714730,
+ https://salsa.debian.org/science-team/dh-fortran-mod/blob/debian/master/dh_fortran_mod.in
diff --git a/t/recipes/checks/languages/fortran/gfortran/no-module-version/eval/hints b/t/recipes/checks/languages/fortran/gfortran/no-module-version/eval/hints
new file mode 100644
index 0000000..537b4bd
--- /dev/null
+++ b/t/recipes/checks/languages/fortran/gfortran/no-module-version/eval/hints
@@ -0,0 +1 @@
+no-module-version (binary): gfortran-module-does-not-declare-version [usr/lib/fortran/mpi.mod]