diff options
Diffstat (limited to '')
5 files changed, 24 insertions, 0 deletions
diff --git a/t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/debian/tests/control b/t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/debian/tests/control new file mode 100644 index 0000000..d6ccd9d --- /dev/null +++ b/t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/debian/tests/control @@ -0,0 +1,2 @@ +Tests: script +Depends: python3-all diff --git a/t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/debian/tests/script b/t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/debian/tests/script new file mode 100644 index 0000000..eb277a2 --- /dev/null +++ b/t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/debian/tests/script @@ -0,0 +1,13 @@ +#!/bin/sh + +# Good +echo $(py3versions -s) +echo $(py3versions -vs) +echo $(py3versions --supported) +echo $(py3versions --verbose --supported) + +# Bad +echo $(py3versions -r) +echo $(py3versions -vr) +echo $(py3versions --requested) +echo $(py3versions --verbose --requested) diff --git a/t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/fill-values b/t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/fill-values new file mode 100644 index 0000000..184e36c --- /dev/null +++ b/t/recipes/checks/testsuite/requests-undeclared-python-versions/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-native +Testname: requests-undeclared-python-versions +Description: Tests for py3versions -r without X-Python3-Version diff --git a/t/recipes/checks/testsuite/requests-undeclared-python-versions/eval/desc b/t/recipes/checks/testsuite/requests-undeclared-python-versions/eval/desc new file mode 100644 index 0000000..7dea8e4 --- /dev/null +++ b/t/recipes/checks/testsuite/requests-undeclared-python-versions/eval/desc @@ -0,0 +1,2 @@ +Testname: requests-undeclared-python-versions +Check: testsuite diff --git a/t/recipes/checks/testsuite/requests-undeclared-python-versions/eval/hints b/t/recipes/checks/testsuite/requests-undeclared-python-versions/eval/hints new file mode 100644 index 0000000..9380e9c --- /dev/null +++ b/t/recipes/checks/testsuite/requests-undeclared-python-versions/eval/hints @@ -0,0 +1,4 @@ +requests-undeclared-python-versions (source): declare-python-versions-for-test py3versions -vr [debian/tests/script:11] +requests-undeclared-python-versions (source): declare-python-versions-for-test py3versions -r [debian/tests/script:10] +requests-undeclared-python-versions (source): declare-python-versions-for-test py3versions --verbose --requested [debian/tests/script:13] +requests-undeclared-python-versions (source): declare-python-versions-for-test py3versions --requested [debian/tests/script:12] |