diff options
author | Guillem Jover <guillem@debian.org> | 2014-05-04 16:25:21 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-05-17 13:30:52 +0200 |
commit | fa48a94434acf00681259bbe8f7acb0efad76153 (patch) | |
tree | 98161a607f0e8ae7a698553571191a7e4e427669 /scripts/t/Dpkg_BuildFlags.t | |
parent | 79a6978160ccf752d058786ab8fb61ad7fa1646a (diff) | |
download | dpkg-fa48a94434acf00681259bbe8f7acb0efad76153.tar.gz |
scripts: Add template test cases for most modules
This at least tests if the module in question can be use'ed correctly,
and gives a more realistic code coverage report.
The remaining modules should be covered by one of their parents.
Diffstat (limited to 'scripts/t/Dpkg_BuildFlags.t')
-rw-r--r-- | scripts/t/Dpkg_BuildFlags.t | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/scripts/t/Dpkg_BuildFlags.t b/scripts/t/Dpkg_BuildFlags.t new file mode 100644 index 000000000..e4aed94f3 --- /dev/null +++ b/scripts/t/Dpkg_BuildFlags.t @@ -0,0 +1,27 @@ +#!/usr/bin/perl +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + +use strict; +use warnings; + +use Test::More tests => 1; + +BEGIN { + use_ok('Dpkg::BuildFlags'); +} + +# TODO: Add actual test cases. + +1; |