summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2015-11-25 21:21:17 +0100
committerPavel Raiskup <praiskup@redhat.com>2015-11-26 00:10:29 +0100
commit4a2420acf4b6f3b425486411c2584a6bca47dd64 (patch)
tree97880954ba771e490affc44248f1133f14c09410 /bin
parent8c80431e9c9425b3edd7517e9c0dd814599b7104 (diff)
downloaddtf-master.tar.gz
dtf-master.tar.xz
dtf-master.zip
licensing: use GPLv2+ and LGPLv2+HEADmaster
All library files are LGPL-family, all scripts are GPL. This sounds like reasonable licensing WRT targeted project audience. We can always go to GPLv3+ and LGPLv3+ (or anybody could to this). Inspiration from: https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dtf-gen36
1 files changed, 36 insertions, 0 deletions
diff --git a/bin/dtf-gen b/bin/dtf-gen
index e49ccc1..62deea0 100755
--- a/bin/dtf-gen
+++ b/bin/dtf-gen
@@ -1,5 +1,23 @@
#! /bin/sh
+# Simple testsuite generator.
+# Copyright (C) 2015 Red Hat, Inc.
+#
+# 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, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+
## Some important facts about this code.
##
## - it's enough to do 'false' within test and it is failure.
@@ -55,6 +73,23 @@ generate_wrapper ()
echo '#! /bin/sh
+# DTF'\''s '\''run'\'' wrapper.
+# Copyright (C) 2015 Red Hat, Inc.
+
+# 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, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
: ${__DTF_TOP_TEST=:}
abs_dirname ()
@@ -63,6 +98,7 @@ abs_dirname ()
}
abs_dirname "`dirname $0`"
srcdir=$abs_dirname_result
+
' > "$_run_cmd"
cat >> "$_run_cmd" <<EOF