Debian Codegraph @

testsuite/lib/report-card.exp

raw
1 # Copyright (C) 2018 Free Software Foundation, Inc.
2 #
3 # This file is part of DejaGnu.
4 #
5 # DejaGnu is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # DejaGnu is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with DejaGnu; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
18
19 # This file was written by Jacob Bachmeyer.
20
21 # Ensure that the dejagnu(1) launcher is available for testing.
22 if { ![info exists LAUNCHER] } {
23 set LAUNCHER \
24 [file normalize \
25 [file join [file dirname [testsuite file -source -top]] dejagnu]]
26 }
27 verbose "Using LAUNCHER $LAUNCHER" 2
28
29 if { [which $LAUNCHER] == 0 } {
30 perror "Can't find LAUNCHER = $LAUNCHER"
31 exit 2
32 }
33
34 # stub: dejagnu-report-card is non-interactive
35 proc report-card_exit {} {}
36
37 # stub: dejagnu-report-card does not have a separate version number
38 proc report-card_version {} {}
39
40 #EOF