-
7896e342
by Felix Lechner
at 2018-12-11T16:42:27Z
Delete variables not needed.
Two variable not needed were left over from a previous edit. This commit
removes them.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
e5d06e5c
by Felix Lechner
at 2018-12-11T16:42:33Z
Remove code for executing post-template command from t/runtests.
The active templates implemented here do not work with the test runner
that is part of Lintian. The reasons are unknown; they could be
related to close() not working properly in a threaded environment.
In reaction to #916087, this code was removed. In the suite 'tests'
the watch file will now be supplied by an extra template.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
db5331c1
by Felix Lechner
at 2018-12-11T16:42:37Z
Remove default Post-Skeleton-Command from t/defaults/desc.
In reaction to #916087, this removes the default command to be
executed for an active template.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
403e4710
by Felix Lechner
at 2018-12-11T16:42:40Z
Delete post-template script from template set tests-make-builder.
In reaction to #916087, this removes the script removing the watch
file for native packages.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
e0ca5eb7
by Felix Lechner
at 2018-12-11T16:42:42Z
Move watch file to separate template set (for suite tests).
In reaction to #916087, the watch file needed for non-native packages
will now be provided by its own template set.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
b22aa98c
by Felix Lechner
at 2018-12-11T16:42:44Z
Add non-native skeleton that includes a watch file, for suite 'tests'.
The default skeleton serves a native template set that lacks the watch
file needed for non-native packages. This commit adds a skeleton that
will also serve a watch file.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
1072d7a0
by Felix Lechner
at 2018-12-11T16:42:46Z
Add Skeleton: non-native to all tests that need it.
This commit adds a skeleton selector "Skeleton: non-native" to all
tests that produce non-native packages, and thus need it.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
7fb46f4b
by Felix Lechner
at 2018-12-11T16:42:48Z
Turn skeleton into a suite-based default.
Skeletons describe just the file layout of a test's working directory.
With this commit, other values may be added. At this point, they
override the values in each test's 'desc'. That behaviour may change
in the future.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
c3ffc234
by Felix Lechner
at 2018-12-11T16:42:51Z
Add Type: non-native to skeleton 'non-native'.
The package type declaration is closely tied to the templates being
served. This commit means that all tests relying on the non-native
skeleton will automatically declare a non-native type. They no longer
need to provide their own declarations.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
7730a99e
by Felix Lechner
at 2018-12-11T16:42:54Z
Add Type: non-native to skeleton 'builder-only'.
The package type declaration is closely tied to the templates being
served. This commit means that all tests relying on the 'builder-only'
skeleton will automatically declare a non-native type.
At the time of writing, that skeleton was only used by two tests for
historical debhelper templates, generic-dh-make-2005 and
generic-dh-make-2008. Those two tests no longer need to provide their
own declarations.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
23f93320
by Felix Lechner
at 2018-12-11T16:42:56Z
Removed declared Type: from all tests in t/tests; now served via skeleton.
The type designates whether a test is intended to build native or
non-native packages. This declaration is closely tied to the templates
served. Most significantly, non-native packages require a watch file,
while native packages will not tolerate one. This declaration is also
found in the default settings or the skeleton definitions and thus no
longer needed for each test. This commit removes all such statements
from the tests in t/tests.
Some tests declared Type: native even though that was the default.
Those statements were likewise removed.
Signed-off-by: Chris Lamb <lamby@debian.org>
-
15642271
by Chris Lamb
at 2018-12-11T16:43:06Z
Apply a patch series from Felix Lechner to use "skeletons" as test templates. (Closes: #916087)