diff options
Diffstat (limited to 'bin/dtf-gen')
-rwxr-xr-x | bin/dtf-gen | 36 |
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 |