Lines Matching +full:- +full:- +full:automake
2 # test-driver - basic testsuite driver script.
4 scriptversion=2018-03-07.03; # UTC
6 # Copyright (C) 2011-2021 Free Software Foundation, Inc.
26 # This file is maintained in Automake, please report
27 # bugs to <bug-automake@gnu.org> or send patches to
28 # <automake-patches@gnu.org>.
31 # helps a lot in preventing typo-related bugs.
32 set -u
45 test-driver --test-name NAME --log-file PATH --trs-file PATH
46 [--expect-failure {yes|no}] [--color-tests {yes|no}]
47 [--enable-hard-errors {yes|no}] [--]
48 TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
50 The '--test-name', '--log-file' and '--trs-file' options are mandatory.
51 See the GNU Automake documentation for information.
61 while test $# -gt 0; do
63 --help) print_usage; exit $?;;
64 --version) echo "test-driver $scriptversion"; exit $?;;
65 --test-name) test_name=$2; shift;;
66 --log-file) log_file=$2; shift;;
67 --trs-file) trs_file=$2; shift;;
68 --color-tests) color_tests=$2; shift;;
69 --expect-failure) expect_failure=$2; shift;;
70 --enable-hard-errors) enable_hard_errors=$2; shift;;
71 --) shift; break;;
72 -*) usage_error "invalid option: '$1'";;
79 test x"$test_name" = x && missing_opts="$missing_opts --test-name"
80 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
81 test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
86 if test $# -eq 0; then
102 do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
110 # don't, but others can (automake bug#35762).
115 if test $enable_hard_errors = no && test $estatus -eq 99; then
133 # file (automake bug#11814).
140 echo ":test-result: $res" > $trs_file
141 echo ":global-test-result: $res" >> $trs_file
143 echo ":copy-in-global-log: $gcopy" >> $trs_file
146 # mode: shell-script
147 # sh-indentation: 2
148 # eval: (add-hook 'before-save-hook 'time-stamp)
149 # time-stamp-start: "scriptversion="
150 # time-stamp-format: "%:y-%02m-%02d.%02H"
151 # time-stamp-time-zone: "UTC0"
152 # time-stamp-end: "; # UTC"