Пакет: dejagnu
- Версия
- 1.6.3
- Релиз
- 1.niceos5
- Архитектура
- noarch
- Хэш GOST
- d12d220354940036fe8926ae053f1a2d2eccb9c0bf7bece0837cc86b92ebde92
- Хэш MD5
- 73742f0d1af89dda3ca6fc1e4ce36337
- Хэш SHA256
- 246a5212d8243e9682c84e455f08a6614fd5c86d36dae8f7078114ba86567f65
- Лицензия
- GPLv2+
- Дата сборки
- 12 мая 2025 г.
- Размер
- 1,256 ГиБ
- Совместимые ОС
- rpm файл:
- dejagnu-1.6.3-1.niceos5.noarch.rpm
Подпакеты
| Имя | Краткое описание |
|---|---|
| dejagnu-devel | Описание отсутствует |
Зависимости
| Имя | Тип | Версия |
|---|---|---|
| /bin/sh | runtime | - |
| expect | runtime | - |
Граф зависимостей
История изменений
| Дата | Автор | Сообщение |
|---|---|---|
| 1 апр. 2025 г. | Stanislav Belikov <sbelikov@ncsgp.ru> | Первая сборка для dejagnu |
Файлы пакета
-
-
- /usr/bin/dejagnu 12,665 КиБ
- /usr/bin/runtest 4,522 КиБ
-
-
-
- /usr/share/dejagnu/baseboards 0 Б
- /usr/share/dejagnu/commands 0 Б
- /usr/share/dejagnu/config 0 Б
- /usr/share/dejagnu/debugger.exp 5,195 КиБ
- /usr/share/dejagnu/dejagnu.exp 5,562 КиБ
- /usr/share/dejagnu/dg.exp 26,794 КиБ
- /usr/share/dejagnu/dmucs.exp 1,886 КиБ
- /usr/share/dejagnu/framework.exp 31,731 КиБ
- /usr/share/dejagnu/ftp.exp 5,434 КиБ
- /usr/share/dejagnu/kermit.exp 4,39 КиБ
- /usr/share/dejagnu/libexec 0 Б
- /usr/share/dejagnu/libgloss.exp 24,137 КиБ
- /usr/share/dejagnu/remote.exp 38,359 КиБ
- /usr/share/dejagnu/rlogin.exp 4,226 КиБ
- /usr/share/dejagnu/rsh.exp 7,305 КиБ
- /usr/share/dejagnu/runtest.exp 56,071 КиБ
- /usr/share/dejagnu/ssh.exp 6,811 КиБ
- /usr/share/dejagnu/standard.exp 1,289 КиБ
- /usr/share/dejagnu/stub-loader.c 85 Б
- /usr/share/dejagnu/target.exp 28,868 КиБ
- /usr/share/dejagnu/targetdb.exp 2,695 КиБ
- /usr/share/dejagnu/telnet.exp 5,995 КиБ
- /usr/share/dejagnu/testglue.c 3,382 КиБ
- /usr/share/dejagnu/tip.exp 4,185 КиБ
- /usr/share/dejagnu/utils.exp 9,452 КиБ
-
-
-
- /usr/share/doc/dejagnu-1.6.3/dejagnu.html 478,556 КиБ
- /usr/share/doc/dejagnu-1.6.3/dejagnu.txt 202,345 КиБ
-
-
-
- /usr/share/info/dejagnu.info.gz 63,041 КиБ
-
-
- /usr/share/man/man1 0 Б
-
-
-
Документация (man-страницы)
DEJAGNU(1) User's Reference Manual DEJAGNU(1)
NAME
dejagnu — вспомогательный запускатель команд DejaGnu
SYNOPSIS
dejagnu ⟨command⟩ [--help | options...]
dejagnu --help
dejagnu --version
DESCRIPTION
Команда dejagnu находит скрипт, который реализует запрошенную команду,
выбирает из нескольких реализаций, если они доступны, согласно фиксированному
внутреннему списку, и выполняет команду.
OPTIONS
--help Выводит сообщение помощи вместо выполнения команды. Если команда
не указана, выводит краткое использование для dejagnu.
-V, --version
Выводит баннер версии для самого запуска, включая версию
DejaGnu. Любая указанная команда игнорируется.
-v, --verbose
Выводит дополнительную информацию, описывающую работу
запускателя dejagnu. Этот параметр также передаётся вызываемой
команде.
Все аргументы после имени команды передаются вызываемой команде.
ENVIRONMENT
DEJAGNULIBS Если установлен, указывает местоположение библиотеки DejaGnu
в файловой системе. Поиск, описанный в разделе FILES, не
выполняется, если DEJAGNULIBS установлен.
AWK Полное имя файла для интерпретатора Awk, который может или не
быть GNU Awk. Если не установлен, в PATH будет произведён
поиск программы awk. Если интерпретатор Awk на самом деле
является GNU Awk, будет использован параметр --posix, если
применяется реализация Awk.
GAWK Полное имя файла для GNU Awk. Если не установлен, в PATH будет
произведён поиск программы gawk.
BASH Полное имя файла для GNU Bash. Если не установлен, в PATH будет
произведён поиск программы bash. Обратите внимание, что Bash
сама устанавливает эту переменную, даже когда запущена как sh,
даже при выполнении скрипта.
EXPECT Полное имя файла для Expect, который является интерпретатором
Tcl с уже загруженным расширением Expect. Если не установлен,
в PATH будет произведён поиск программы expect. Обратите
внимание, что ядро DejaGnu написано на Expect, поэтому этот
интерпретатор должен всегда быть доступен.
TCLSH Полное имя файла для интерпретатора Tcl. Если не установлен, в
PATH будет произведён поиск программы tclsh.
Обратите внимание, что GNU Awk считается надмножеством Awk, а Expect —
надмножеством Tcl, что позволяет использовать первое для запуска скриптов,
написанных для последнего. Это означает, что, хотя программы Awk в общем
случае будут запускаться с отключёнными расширениями GNU с помощью параметра
--posix для GNU Awk, программы Tcl могут запускаться либо с tclsh, либо с
expect и должны быть написаны соответственно.
FILES
$DEJAGNULIBS/commands Если DEJAGNULIBS установлен, все скрипты команд
ожидаются в этом каталоге.
В противном случае используется первый каталог, который на самом деле
существует в следующем списке, где @bindir@ представляет каталог,
содержащий dejagnu.
@bindir@/../share/dejagnu/commands
@bindir@/../../share/dejagnu/commands
/usr/share/dejagnu/commands
/usr/local/share/dejagnu/commands
SEE ALSO
Полная документация для DejaGnu поддерживается в виде руководства Texinfo.
Если программа info правильно установлена на вашем сайте, команда info
dejagnu должна предоставить доступ к полному руководству.
AUTHORS
Jacob Bachmeyer
BUGS
Имя команды должно предшествовать всем другим аргументам из-за ограничений
оболочки.
GNU 17 декабря 2018 г. GNU
DEJAGNU(1) User's Reference Manual DEJAGNU(1)
NAME
dejagnu — DejaGnu auxiliary command launcher
SYNOPSIS
dejagnu ⟨command⟩ [--help | options...]
dejagnu --help
dejagnu --version
DESCRIPTION
The dejagnu command finds a script that implements the requested command,
selects from multiple implementations if available according to a fixed
internal list, and executes the command.
OPTIONS
--help Print a help message instead of running a command. If no com‐
mand is given, prints brief usage for dejagnu itself.
-V, --version
Print a version banner for the launcher itself including the
version of DejaGnu. Any command given is ignored.
-v, --verbose
Emit additional output describing the operation of the dejagnu
launcher itself. This option is also passed on to the invoked
command.
All arguments after the command name are passed to the invoked command.
ENVIRONMENT
DEJAGNULIBS If set, the location of DejaGnu's library in the filesystem.
The search described in FILES does not happen if DEJAGNULIBS
is set.
AWK Full file name for an Awk interpreter that may or may not
actually be GNU Awk. If not set, PATH will be searched for
an awk program. If the Awk interpreter is actually GNU Awk,
the --posix option will be given if an Awk implementation is
used.
GAWK Full file name for GNU Awk. If not set, PATH will be
searched for a gawk program.
BASH Full file name for GNU Bash. If not set, PATH will be
searched for a bash program. Note that Bash itself sets
this variable, even when run as sh, even when running a
script.
EXPECT Full file name for Expect, which is a Tcl interpreter with
the Expect extension already loaded. If not set, PATH will
be searched for an expect program. Note that the DejaGnu
core is written in Expect, so this interpreter should always
be available.
TCLSH Full file name for a Tcl interpreter. If not set, PATH will
be searched for a tclsh program.
Note that GNU Awk is considered a superset of Awk and that Expect is con‐
sidered a superset of Tcl, allowing the former to be used to run scripts
written for the latter. This means that, while Awk programs will gener‐
ally be run with GNU extensions disabled using the --posix option to GNU
Awk, Tcl programs may be run with either tclsh or expect and should be
written accordingly.
FILES
$DEJAGNULIBS/commands If DEJAGNULIBS is set, all command scripts are ex‐
pected to be in this directory.
Otherwise, the first directory that actually exists in the following list
is used, where @bindir@ represents the directory containing dejagnu it‐
self.
@bindir@/../share/dejagnu/commands
@bindir@/../../share/dejagnu/commands
/usr/share/dejagnu/commands
/usr/local/share/dejagnu/commands
SEE ALSO
The full documentation for DejaGnu is maintained as a Texinfo manual. If
the info program is properly installed at your site, the command info
dejagnu should give you access to the complete manual.
AUTHORS
Jacob Bachmeyer
BUGS
The command name must precede all other arguments due to limitations of
the shell.
GNU December 17, 2018 GNU
DEJAGNU-HELP(1) Справочник пользователя DEJAGNU-HELP(1)
NAME
dejagnu help — отображение страниц руководства для вспомогательных команд DejaGnu
SYNOPSIS
dejagnu help [options...] ⟨command⟩
DESCRIPTION
Команда dejagnu help отображает подробную документацию для вспомогательных
команд DejaGnu.
OPTIONS
-v, --verbose Выводить дополнительный вывод, описывающий работу
самой команды dejagnu help.
-w, --path Эта опция просто передается man.
-W Эта опция просто передается man.
FILES
Команда dejagnu help проверяет наличие страниц руководства в каталоге doc/,
расположенном рядом с каталогом commands/, где находится этот скрипт. Если
страница найдена там, то man передается полное имя файла. В противном
случае передается только имя команды, и выполняется поиск, описанный в man(1).
SEE ALSO
man(1)
AUTHORS
Jacob Bachmeyer
BUGS
В настоящее время поддерживает только страницы руководства.
GNU 19 декабря 2018 GNU
DEJAGNU-HELP(1) User's Reference Manual DEJAGNU-HELP(1)
NAME
dejagnu help — display manual pages for DejaGnu auxiliary commands
SYNOPSIS
dejagnu help [options...] ⟨command⟩
DESCRIPTION
The dejagnu help command displays long-form documentation for DejaGnu
auxiliary commands.
OPTIONS
-v, --verbose Emit additional output describing the operation of
dejagnu help itself.
-w, --path This option is simply passed on to man.
-W This option is simply passed on to man.
FILES
The dejagnu help command checks for man pages in a doc/ directory next to
the commands/ directory where this script is located. If the page is
found there, a full file name is given to man. Otherwise, only the com‐
mand name is given and the search described in man(1) is performed.
SEE ALSO
man(1)
AUTHORS
Jacob Bachmeyer
BUGS
Currently only supports man pages.
GNU December 19, 2018 GNU
runtest(1) Общие команды runtest(1)
NAME
runtest - Драйвер тестов DejaGnu
SYNOPSIS
runtest [OPTION]...
DESCRIPTION
DejaGnu — это фреймворк для тестирования программ с использованием Expect. runtest — это программа-драйвер для DejaGnu. Она управляет тем, какие тесты запускать и как их запускать.
OPTIONS
--all, -a
Выводить все результаты тестов. По умолчанию отображаются только неожиданные результаты.
--build TRIPLET
Конфигурационный TRIPLET для системы сборки.
--debug
Включить внутренний отладочный вывод Expect. Вывод логируется в файл с именем dbg.log.
--directory DIRECTORY
Запускать только тесты в указанном DIRECTORY.
--global_init NAME
Имя для глобального файла инициализации в libdir. Значение по умолчанию — site.exp, если эта опция не указана.
--help Выводит сообщение с использованием и выходит.
--host TRIPLET
Конфигурационный TRIPLET для хост-системы.
--host_board NAME
Определение хост-платы для использования.
--ignore test1.exp test2.exp ...
Не запускать указанные тесты.
--local_init NAME
Имя для локального файла инициализации тестового набора как в текущем каталоге, так и в objdir. Значение по умолчанию — site.exp, если эта опция не указана.
--log_dialog
Выводить вывод Expect в стандартный вывод.
--mail ´name1 name2 ...´
Электронные адреса для получения результатов тестов.
--objdir PATH
PATH — каталог, содержащий скомпилированный тестовый код.
--outdir DIRECTORY
Имя DIRECTORY для вывода логов тестов.
--reboot
Перезагружать целевую плату при инициализации runtest (если поддерживается).
--srcdir PATH
PATH — каталог, содержащий каталоги тестов.
--strace N
Включить внутреннее трассирование Expect на глубину N уровней. Вывод логируется в файл с именем dbg.log.
--target TRIPLET
Конфигурационный TRIPLET для цели.
--target_board NAME
Список имён целевых плат NAME, на которых запускать тесты.
--tool TOOLNAME
Указать инструмент для тестирования. TOOLNAME управляет применяемым тестовым набором и связанным модулем инициализации.
--tool_exec PATH
Указать PATH к исполняемому файлу для тестирования.
--tool_opts OPTIONS
Дополнительные OPTIONS для передачи инструменту.
-v, --verbose
Включить больше отладочного вывода из тестовых случаев и утилит DejaGnu. Используйте несколько раз для увеличения вывода.
-V, --version
Выводит версии DejaGnu, Expect и Tcl.
-x, --xml
Генерировать вывод в формате XML. Файл вывода будет назван в соответствии с инструментом с расширением .xml.
-D[number]
Активировать отладчик Tcl. number может быть 1 или 0. Если это 1, то оболочка Expect прервётся при запуске. Клавиша прерывания вызовет переход DejaGnu к приглашению отладчика. Если это 0, DejaGnu запускается как обычно, но Control-C переходит к приглашению отладчика.
Любое имя файла в командной строке считается подмножеством имён тестов для запуска. Обычно это имена скриптов тестов (например, foo.exp).
Переменные в стиле Makefile используются для указания имён инструментов и их флагов; эти и другие значения, зависящие от конфигурации, сохраняются в файле site.exp, создаваемом во время конфигурации.
Код возврата:
0 если все тесты прошли, включая ожидаемые сбои и неподдерживаемые тесты,
1 если любой тест провалился, прошёл неожиданно или остался неразрешённым,
2 если Expect столкнулся с любой ошибкой в скриптах тестов.
AUTHOR
Rob Savoye (rob@welcomehome.org)
REPORTING BUGS
Сообщайте об ошибках по адресу <bug-dejagnu@gnu.org>.
COPYRIGHT
Copyright © 2005-2016, 2018, 2020 Free Software Foundation, Inc.
Это свободное программное обеспечение. Вы можете распространять копии этого программного обеспечения на условиях GNU General Public License <http://www.gnu.org/licenses/gpl.html>. НЕТ НИКАКИХ ГАРАНТИЙ, насколько это разрешено законом.
SEE ALSO
Полная документация для DejaGnu поддерживается в виде руководства Texinfo. Если программа info правильно установлена на вашем сайте, команда
info dejagnu
должна предоставить вам доступ к полному руководству.
2018-12-01 runtest(1)
runtest(1) General Commands Manual runtest(1)
NAME
runtest - DejaGnu test driver
SYNOPSIS
runtest [OPTION]...
DESCRIPTION
DejaGnu is a framework for testing programs using Expect. runtest is
the driver program for DejaGnu. It controls what tests to run and how
to run them.
OPTIONS
--all, -a
Output all test results. By default, only unexpected results are
displayed.
--build TRIPLET
The configuration TRIPLET for the build system.
--debug
Turn on Expect internal debugging output. The output is logged
to a file called dbg.log.
--directory DIRECTORY
Run only tests in the specified DIRECTORY.
--global_init NAME
The NAME to use for the global init file in libdir. The default
is site.exp if this option is not given.
--help Prints a usage message and then exits.
--host TRIPLET
The configuration TRIPLET for the host system.
--host_board NAME
The host board definition to use.
--ignore test1.exp test2.exp ...
Do not run the specified tests.
--local_init NAME
The NAME to use for the testsuite local init file in both the
current directory and objdir. The default is site.exp if this
option is not given.
--log_dialog
Emit Expect output to standard output.
--mail ´name1 name2 ...´
Electronic mail addresses to receive test results.
--objdir PATH
PATH is a directory containing compiled test code.
--outdir DIRECTORY
The name of a DIRECTORY for test log output.
--reboot
Reboot the target board when runtest initializes (if supported).
--srcdir PATH
PATH is a directory containing test directories.
--strace N
Turns on Expect internal tracing to N levels deep. The output is
logged to a file called dbg.log.
--target TRIPLET
The configuration TRIPLET for the target.
--target_board NAME
A list of target board NAMEs to run tests on.
--tool TOOLNAME
Specify the tool to be tested. TOOLNAME controls the test suite
applied, and the associated initialization module.
--tool_exec PATH
Specify the PATH to the executable to test.
--tool_opts OPTIONS
Additional OPTIONS to pass to the tool.
-v, --verbose
Turns on more debugging output from test cases and DejaGnu util‐
ity code. Use more than once to increase output further.
-V, --version
Prints out the versions of DejaGnu, Expect and Tcl.
-x, --xml
Generate XML output. The output file is named after the tool
with an .xml extension.
-D[number]
Activate the Tcl debugger. number can be either 1 or 0. If it
is 1, then the Expect shell will break when it starts to run.
The interrupt key will cause DejaGnu to drop to the debugger
prompt. If it is 0, DejaGnu starts as usual, but Control-C drops
to the debugger prompt.
Any file name on the command line is assumed to be a subset of the
test names to run. Usually these are the names of the test scripts
(eg. foo.exp).
Makefile-style variables are used to specify tool names and their
flags; these and other configuration dependent values are saved in the
file site.exp, created during configuration.
Exit status:
0 if all tests passed including expected failures and unsupported
tests,
1 if any test failed, passed unexpectedly, or was unresolved,
2 if Expect encountered any error in the test scripts.
AUTHOR
Rob Savoye (rob@welcomehome.org)
REPORTING BUGS
Report bugs to <bug-dejagnu@gnu.org>.
COPYRIGHT
Copyright © 2005-2016, 2018, 2020 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the
terms of the GNU General Public License <http://www.gnu.org/li‐
censes/gpl.html>. There is NO WARRANTY, to the extent permitted by
law.
SEE ALSO
The full documentation for DejaGnu is maintained as a Texinfo manual.
If the info program is properly installed at your site, the command
info dejagnu
should give you access to the complete manual.
2018-12-01 runtest(1)
DEJAGNU-REPORT-CARD(1) Справочник пользователя DEJAGNU-REPORT-CARD(1)
NAME
dejagnu report card — подведение итогов результатов тестирования нескольких инструментов
SYNOPSIS
dejagnu report card [⟨option⟩ | ⟨tool⟩ | ⟨file⟩] ...
DESCRIPTION
Команда dejagnu report card отображает результаты тестирования нескольких
инструментов в табличном формате. Сгенерированная таблица перечисляет,
для каждого инструмента (и, если были выполнены несколько проходов, для
каждого прохода) количество тестов, которые прошли, провалились,
не поддерживаются, не разрешены и не тестировались. Тесты, которые
ожидалось, что провалятся, учитываются в отдельных столбцах от тестов,
которые ожидалось, что пройдут, но "известные" сбои и "ожидаемые" сбои
суммируются вместе. Если тест сгенерировал предупреждения или ошибки,
в конце соответствующей строки добавляется метка ‘!W!’ или ‘!E!’.
Помимо опций, список аргументов может включать имена инструментов или
файлов. Команда dejagnu report card предпочитает читать файлы сводок
DejaGnu и будет преобразовывать имена соответственно:
*.sum Используется как есть.
*.log Перезаписывается как *.sum с тем же основанием.
*. К строке добавляется "sum", чтобы выбрать файл сводки. Это
обработка выполняется для удобства при использовании автодополнения
имён файлов Readline в оболочке, которое будет дополнять до точки.
* Воспринимается как имя инструмента; к нему добавляется .sum.
OPTIONS
-v, --verbose Выводить дополнительный вывод, описывающий работу
dejagnu report card.
FILES
Команда dejagnu report card генерирует свой вывод, читая файлы сводок,
созданные DejaGnu, и подсчитывая "PASS", "FAIL" и т.д.
Если аргументы не указаны, читаются все файлы, соответствующие *.sum,
в текущем каталоге.
EXAMPLES
Простой пример из собственного тестового набора DejaGnu
$ dejagnu report card
__________________________________________________
/ PASS FAIL ?PASS ?FAIL UNSUP UNRES UNTEST
|--------------------------------------------------
launcher | 52 0 0 0 0 0 0
libdejagnu | 5 0 0 0 0 0 0
runtest | 135 0 0 0 0 0 0
|--------------------------------------------------
| 192 0 0 0 0 0 0
\__________________________________________________
Было протестировано три инструмента, с общим количеством 192 тестов,
все из которых ожидалось, что пройдут. В этом примере все тесты прошли,
поэтому все остальные столбцы равны нулю. Столбцы ‘?PASS’ и ‘?FAIL’
подсчитывают тесты, которые известны или ожидалось, что провалятся, и
которые либо неожиданно прошли, либо провалились, как ожидалось.
Оставшиеся три столбца подсчитывают исключительные результаты для
неподдерживаемых тестов, неразрешённых тестов и заглушек, которые
просто объявляют себя не тестированными.
Тот же пример после добавления тестов для dejagnu-report-card
$ dejagnu report-card
__________________________________________________
/ PASS FAIL ?PASS ?FAIL UNSUP UNRES UNTEST
|--------------------------------------------------
launcher | 52 0 0 0 0 0 0
libdejagnu | 5 0 0 0 0 0 0
report-card / awk | 36 0 0 0 0 0 0
report-card / sh | 36 0 0 0 0 0 0
report-card / tcl | 36 0 0 0 0 0 0
runtest | 135 0 0 0 0 0 0
|--------------------------------------------------
awk | 36 0 0 0 0 0 0
sh | 36 0 0 0 0 0 0
tcl | 36 0 0 0 0 0 0
|--------------------------------------------------
| 300 0 0 0 0 0 0
\__________________________________________________
Инструмент ‘report-card’ был добавлен с тремя проходами, по одному
для каждой реализации. (Реализации для оболочки и Tcl позже были
удалены, чтобы уменьшить будущую нагрузку на обслуживание.) Как и
раньше, все тесты прошли, как ожидалось. Интересное отличие от
предыдущего примера — использование функции многопроходного тестирования
DejaGnu и добавление дополнительных строк сводки на проход. В этом
примере только инструмент ‘report-card’ использует многопроходное
тестирование, поэтому общий итог для каждого прохода просто представляет
собой количество тестов для ‘report-card’, а не отдельный итог.
Также обратите внимание, что команда для вызова dejagnu report card
здесь немного отличается. Запускатель dejagnu(1) также принимает
несколько слов, объединённых дефисами, в один аргумент. Это позволяет
разделять отдельные слова в имени команды дефисами или пробелами
на командной строке взаимозаменяемо.
SEE ALSO
dejagnu(1) runtest(1)
Полная документация для DejaGnu поддерживается в виде руководства Texinfo.
Если программа info правильно установлена на вашем сайте, команда info
dejagnu должна предоставить вам доступ к полному руководству.
AUTHORS
Jacob Bachmeyer
GNU 31 декабря 2018 года GNU
DEJAGNU-REPORT-CARD(1) User's Reference Manual DEJAGNU-REPORT-CARD(1)
NAME
dejagnu report card — summarize results from testing multiple tools
SYNOPSIS
dejagnu report card [⟨option⟩ | ⟨tool⟩ | ⟨file⟩] ...
DESCRIPTION
The dejagnu report card command displays results from testing multiple
tools in a tabular format. The produced table lists, for each tool (and
if multiple passes were run, each pass) the number of tests passed,
failed, unsupported, unresolved, and untested. Tests that are expected
to fail are counted in separate columns from tests expected to pass, but
"known" failures and "expected" failures are summarized together. If a
test generated warnings or errors, a tag ‘!W!’ or ‘!E!’ is appended at
the end of the relevant line.
Aside from options, the argument list may include tool or file names.
The dejagnu report card command prefers to read DejaGnu summary files and
will translate names accordingly:
*.sum Used as-is.
*.log Rewritten to *.sum with the same stem.
*. The string sum is appended to select a summary file. This pro‐
cessing is done for convenience when using Readline file name com‐
pletion in a shell, which will complete to the dot.
* Taken as a tool name; .sum is appended.
OPTIONS
-v, --verbose Emit additional output describing the operation of
dejagnu report card itself.
FILES
The dejagnu report card command produces its output by reading the sum‐
mary files produced by DejaGnu and counting "PASS", "FAIL", etc.
If no names are given as arguments, all files matching *.sum in the cur‐
rent directory are read.
EXAMPLES
A simple example from DejaGnu's own testsuite
$ dejagnu report card
__________________________________________________
/ PASS FAIL ?PASS ?FAIL UNSUP UNRES UNTEST
|--------------------------------------------------
launcher | 52 0 0 0 0 0 0
libdejagnu | 5 0 0 0 0 0 0
runtest | 135 0 0 0 0 0 0
|--------------------------------------------------
| 192 0 0 0 0 0 0
\__________________________________________________
Three tools were tested, with a total of 192 tests, all expected to pass.
In this example, all tests did pass, so all other columns are zero. The
‘?PASS’ and ‘?FAIL’ columns count tests known or expected to fail that
either unexpectedly passed or failed as expected. The remaining three
columns count the exceptional results for unsupported tests, unresolved
tests and stub tests that simply declare themselves untested.
The same example after tests were added for dejagnu-report-card
$ dejagnu report-card
__________________________________________________
/ PASS FAIL ?PASS ?FAIL UNSUP UNRES UNTEST
|--------------------------------------------------
launcher | 52 0 0 0 0 0 0
libdejagnu | 5 0 0 0 0 0 0
report-card / awk | 36 0 0 0 0 0 0
report-card / sh | 36 0 0 0 0 0 0
report-card / tcl | 36 0 0 0 0 0 0
runtest | 135 0 0 0 0 0 0
|--------------------------------------------------
awk | 36 0 0 0 0 0 0
sh | 36 0 0 0 0 0 0
tcl | 36 0 0 0 0 0 0
|--------------------------------------------------
| 300 0 0 0 0 0 0
\__________________________________________________
The ‘report-card’ tool has been added, with three passes, one for each
implementation. (The shell and Tcl implementations were later dropped to
reduce future maintenance burden.) As before, all tests passed as ex‐
pected. The interesting difference from the previous example is the use
of DejaGnu's multipass testing feature and the additional per-pass sum‐
mary lines added. For this example, only the ‘report-card’ tool uses
multipass testing, so each pass total is simply the count of tests for
‘report-card’ instead of a distinct total.
Also note that the command used to invoke dejagnu report card is slightly
different here. The dejagnu(1) launcher will also accept multiple words
joined with dashes into a single argument. This allows individual words
in a command name to be separated with either dashes or spaces on the
command line interchangeably.
SEE ALSO
dejagnu(1) runtest(1)
The full documentation for DejaGnu is maintained as a Texinfo manual. If
the info program is properly installed at your site, the command info
dejagnu should give you access to the complete manual.
AUTHORS
Jacob Bachmeyer
GNU December 31, 2018 GNU