The Jetstream remote test server is now working.

So it now becomes the first default test server to try.
This also means that the dap4 remote testing is enabled.
The only issue to watch is to see if the jetstream-based
server can stay up for significant periods of time.
A uptimerobot (https://uptimerobot.com) has been set ups
to monitor this hourly, so we shall see.
This commit is contained in:
Dennis Heimbigner 2018-06-26 13:58:45 -06:00
parent b9d846836b
commit 1299a0fcee
17 changed files with 83 additions and 75 deletions

View File

@ -842,7 +842,7 @@ ENDIF()
# Option to Enable DAP long tests, remote tests. # Option to Enable DAP long tests, remote tests.
OPTION(ENABLE_DAP_LONG_TESTS "Enable DAP long tests." OFF) OPTION(ENABLE_DAP_LONG_TESTS "Enable DAP long tests." OFF)
OPTION(ENABLE_DAP_REMOTE_TESTS "Enable DAP remote tests." ON) OPTION(ENABLE_DAP_REMOTE_TESTS "Enable DAP remote tests." ON)
SET(REMOTETESTSERVERS "remotetest.unidata.ucar.edu,jetstream.unidata.ucar.edu" CACHE STRING "test servers to use for remote test") SET(REMOTETESTSERVERS "149.165.169.123:8080,remotetest.unidata.ucar.edu" CACHE STRING "test servers to use for remote test")
# If netCDF4 and DAP, Option for DAP groups. # If netCDF4 and DAP, Option for DAP groups.
IF(ENABLE_NETCDF_4 AND ENABLE_DAP2) IF(ENABLE_NETCDF_4 AND ENABLE_DAP2)

View File

@ -7,6 +7,7 @@ This file contains a high-level description of this package's evolution. Release
## 4.7.0 - TBD ## 4.7.0 - TBD
* [Enhancement] Support DAP4 remote tests using a new remote test server locatedon the Unidata JetStream project.
* [Enhancement] Improved the performance of the nc_get/put_vars operations by using the equivalent slab capabilities of hdf5. Result is a significant speedup of these operations. See [GitHub #1001](https://github.com/Unidata/netcdf-c/pull/1001) for more information. * [Enhancement] Improved the performance of the nc_get/put_vars operations by using the equivalent slab capabilities of hdf5. Result is a significant speedup of these operations. See [GitHub #1001](https://github.com/Unidata/netcdf-c/pull/1001) for more information.
* [Enhancement] Expanded the capabilities of `NC_INMEMORY` to support writing and accessing the final modified memory. See [GitHub #879](https://github.com/Unidata/netcdf-c/pull/879) for more information. * [Enhancement] Expanded the capabilities of `NC_INMEMORY` to support writing and accessing the final modified memory. See [GitHub #879](https://github.com/Unidata/netcdf-c/pull/879) for more information.
* [Enhancement] Made CDF5 support enabled by default. See [Github #931](https://github.com/Unidata/netcdf-c/issues/931) for more information. * [Enhancement] Made CDF5 support enabled by default. See [Github #931](https://github.com/Unidata/netcdf-c/issues/931) for more information.

9
cf
View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
#NB=1 #NB=1
#DB=1 DB=1
#X=-x #X=-x
#FAST=1 #FAST=1
@ -13,6 +13,8 @@ DAP=1
#PNETCDF=1 #PNETCDF=1
#PAR4=1 #PAR4=1
#TESTSERVERS="localhost:8080,149.165.169.123:8080"
if test $# != 0 ; then if test $# != 0 ; then
cmds=$@ cmds=$@
fi fi
@ -115,10 +117,13 @@ FLAGS="$FLAGS --disable-diskless"
#FLAGS="$FLAGS --enable-jna" #FLAGS="$FLAGS --enable-jna"
#FLAGS="$FLAGS --disable-properties-attribute" #FLAGS="$FLAGS --disable-properties-attribute"
#FLAGS="$FLAGS --disable-silent-rules" #FLAGS="$FLAGS --disable-silent-rules"
#FLAGS="$FLAGS --with-testservers=remotestserver.localhost:8083"
FLAGS="$FLAGS --disable-filter-testing" FLAGS="$FLAGS --disable-filter-testing"
#FLAGS="$FLAGS --enable-metadata-perf" #FLAGS="$FLAGS --enable-metadata-perf"
if test "x$TESTSERVERS" != x ; then
FLAGS="$FLAGS --with-testservers=$TESTSERVERS"
fi
if test "x$PAR4" != x1 ; then if test "x$PAR4" != x1 ; then
FLAGS="$FLAGS --disable-parallel4" FLAGS="$FLAGS --disable-parallel4"
fi fi

View File

@ -23,6 +23,8 @@ if test "x$VS" = x1 ; then
fi fi
fi fi
#TESTSERVERS="localhost:8080,149.165.169.123:8080"
#export NCPATHDEBUG=1 #export NCPATHDEBUG=1
if test "x$VSSETUP" = x1 ; then if test "x$VSSETUP" = x1 ; then
@ -49,12 +51,16 @@ if test "x$HDF4" != x ; then
FLAGS="$FLAGS -DENABLE_HDF4=true" FLAGS="$FLAGS -DENABLE_HDF4=true"
fi fi
if test "x$TESTSERVERS" != x ; then
FLAGS="$FLAGS -DREMOTETESTSERVERS=${TESTSERVERS}"
fi
# Enables # Enables
FLAGS="$FLAGS -DENABLE_DAP_REMOTE_TESTS=true" FLAGS="$FLAGS -DENABLE_DAP_REMOTE_TESTS=true"
FLAGS="$FLAGS -DENABLE_LOGGING=true" FLAGS="$FLAGS -DENABLE_LOGGING=true"
#FLAGS="$FLAGS -DENABLE_DOXYGEN=true -DENABLE_INTERNAL_DOCS=true" #FLAGS="$FLAGS -DENABLE_DOXYGEN=true -DENABLE_INTERNAL_DOCS=true"
#FLAGS="$FLAGS -DENABLE_LARGE_FILE_TESTS=true" #FLAGS="$FLAGS -DENABLE_LARGE_FILE_TESTS=true"
FLAGS="$FLAGS -DENABLE_FILTER_TESTING=true" #FLAGS="$FLAGS -DENABLE_FILTER_TESTING=true"
# Disables # Disables
FLAGS="$FLAGS -DENABLE_EXAMPLES=false" FLAGS="$FLAGS -DENABLE_EXAMPLES=false"

View File

@ -400,15 +400,15 @@ fi
# Did the user specify a list of test servers to try for remote tests? # Did the user specify a list of test servers to try for remote tests?
AC_MSG_CHECKING([which remote test server(s) to use]) AC_MSG_CHECKING([which remote test server(s) to use])
AC_ARG_WITH([testservers], AC_ARG_WITH([testservers],
[AS_HELP_STRING([--with-testservers=<host+port>,<host+port>...], [AS_HELP_STRING([--with-testservers=<host:port>,<host:port>...],
[Specify the testserver(s) to try for remote tests.])], [Specify the testserver(s) to try for remote tests.])],
[REMOTETESTSERVERS=$with_testservers], [REMOTETESTSERVERS=no]) [REMOTETESTSERVERS=$with_testservers], [REMOTETESTSERVERS=no])
msg="$REMOTETESTSERVERS" msg="$REMOTETESTSERVERS"
if test "x$REMOTETESTSERVERS" = xno ; then if test "x$REMOTETESTSERVERS" = xno ; then
msg="remotetest.unidata.ucar.edu,jetstream.unidata.ucar.edu (defaults)" svclist="149.165.169.123:8080,remotetest.unidata.ucar.edu"
REMOTETESTSERVERS=remotetest.unidata.ucar.edu,jetstream.unidata.ucar.edu REMOTETESTSERVERS="$svclist"
fi fi
AC_MSG_RESULT([$msg]) AC_MSG_RESULT([$svclist])
AC_DEFINE_UNQUOTED([REMOTETESTSERVERS], ["$REMOTETESTSERVERS"], [the testservers for remote tests.]) AC_DEFINE_UNQUOTED([REMOTETESTSERVERS], ["$REMOTETESTSERVERS"], [the testservers for remote tests.])
# Set the config.h flags # Set the config.h flags

View File

@ -32,7 +32,7 @@ IF(ENABLE_TESTS)
BUILD_BIN_TEST(findtestserver4) BUILD_BIN_TEST(findtestserver4)
IF(BUILD_UTILITIES) IF(BUILD_UTILITIES)
# disable for now add_sh_test(dap4_test test_remote) add_sh_test(dap4_test test_remote)
ENDIF(BUILD_UTILITIES) ENDIF(BUILD_UTILITIES)
ENDIF(ENABLE_DAP_REMOTE_TESTS) ENDIF(ENABLE_DAP_REMOTE_TESTS)
ENDIF(ENABLE_TESTS) ENDIF(ENABLE_TESTS)

View File

@ -6,7 +6,9 @@
# Put together AM_CPPFLAGS and AM_LDFLAGS. # Put together AM_CPPFLAGS and AM_LDFLAGS.
include $(top_srcdir)/lib_flags.am include $(top_srcdir)/lib_flags.am
TEST_EXTENSIONS = .sh #TEST_EXTENSIONS = .sh
#LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
LDADD = ${top_builddir}/liblib/libnetcdf.la LDADD = ${top_builddir}/liblib/libnetcdf.la
AM_CPPFLAGS += -I$(top_srcdir)/libdap4 AM_CPPFLAGS += -I$(top_srcdir)/libdap4
@ -44,8 +46,7 @@ check_PROGRAMS += findtestserver4
findtestserver4_SOURCES = findtestserver4.c findtestserver4_SOURCES = findtestserver4.c
if BUILD_UTILITIES if BUILD_UTILITIES
# relies on ncdump # relies on ncdump
# Disabled until the testserver is stable TESTS += test_remote.sh
#TESTS += test_remote.sh
endif endif
endif endif

View File

@ -23,8 +23,10 @@ cd ${srcdir}/baselineraw; BASELINERAW=`pwd` ; cd ${WD}
cd ${srcdir}/baselineremote; BASELINEREM=`pwd` ; cd ${WD} cd ${srcdir}/baselineremote; BASELINEREM=`pwd` ; cd ${WD}
BASELINEH=${BASELINEREM} BASELINEH=${BASELINEREM}
rm -fr ./results setresultdir() {
mkdir -p ./results rm -fr ./$1
mkdir -p ./$1
}
FAILURES= FAILURES=
failure() { failure() {

View File

@ -11,7 +11,8 @@ cd ${DAPTESTFILES}
F=`ls -1 *.dap | sed -e 's/[.]dap//g' | tr '\r\n' ' '` F=`ls -1 *.dap | sed -e 's/[.]dap//g' | tr '\r\n' ' '`
cd $WD cd $WD
mkdir ./results_test_data setresultdir results_test_data
if test "x${RESET}" = x1 ; then rm -fr ${BASELINE}/*.d4d ; fi if test "x${RESET}" = x1 ; then rm -fr ${BASELINE}/*.d4d ; fi
for f in $F ; do for f in $F ; do
echo "testing: ${f}" echo "testing: ${f}"

View File

@ -22,26 +22,27 @@ failure() {
exit 1 exit 1
} }
rm -fr ./results setresultdir results_test_hyrax
mkdir -p ./results
if test "x${RESET}" = x1 ; then rm -fr ${BASELINEH}/*.dmp ; fi if test "x${RESET}" = x1 ; then rm -fr ${BASELINEH}/*.dmp ; fi
for f in $F ; do for f in $F ; do
URL="dap4://test.opendap.org:8080/opendap/nc4_test_files/${f}${FRAG}" URL="dap4://test.opendap.org:8080/opendap/nc4_test_files/${f}${FRAG}"
echo "testing: $URL" echo "testing: $URL"
if ! ${NCDUMP} "${URL}" > ./results/${f}.hyrax; then if ! ${NCDUMP} "${URL}" > ./results_test_hyrax/${f}.hyrax; then
failure "${URL}" failure "${URL}"
fi fi
if test "x${TEST}" = x1 ; then if test "x${TEST}" = x1 ; then
if ! diff -wBb ${BASELINEREM}/${f}.hyrax ./results/${f}.hyrax ; then if ! diff -wBb ${BASELINEREM}/${f}.hyrax ./results_test_hyrax/${f}.hyrax ; then
failure "diff ${f}.hyrax" failure "diff ${f}.hyrax"
fi fi
elif test "x${RESET}" = x1 ; then elif test "x${RESET}" = x1 ; then
echo "${f}:" echo "${f}:"
cp ./results/${f}.hyrax ${BASELINEH}/${f}.hyrax cp ./results_test_hyrax/${f}.hyrax ${BASELINEH}/${f}.hyrax
fi fi
done done
rm -rf ./results_test_hyrax
echo "*** Pass" echo "*** Pass"
exit 0 exit 0

View File

@ -23,7 +23,8 @@ done
if test "x${RESET}" = x1 ; then rm -fr ${BASELINE}/*.d4m ; fi if test "x${RESET}" = x1 ; then rm -fr ${BASELINE}/*.d4m ; fi
mkdir ./results_test_meta setresultdir results_test_meta
for f in ${F} ; do for f in ${F} ; do
echo "checking: $f" echo "checking: $f"
if ! ${VG} ${execdir}/test_meta ${DMRTESTFILES}/${f}.dmr ./results_test_meta/${f} ; then if ! ${VG} ${execdir}/test_meta ${DMRTESTFILES}/${f}.dmr ./results_test_meta/${f} ; then

View File

@ -11,7 +11,8 @@ cd ${DMRTESTFILES}
F=`ls -1 *.dmr | sed -e 's/[.]dmr//' |tr '\r\n' ' '` F=`ls -1 *.dmr | sed -e 's/[.]dmr//' |tr '\r\n' ' '`
cd $WD cd $WD
mkdir ./results_test_parse setresultdir results_test_parse
if test "x${RESET}" = x1 ; then rm -fr ${BASELINE}/*.d4p ; fi if test "x${RESET}" = x1 ; then rm -fr ${BASELINE}/*.d4p ; fi
for f in $F ; do for f in $F ; do
echo "testing: $f" echo "testing: $f"

View File

@ -3,6 +3,7 @@
if test "x$srcdir" = x ; then srcdir=`pwd`; fi if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh . ../test_common.sh
set -e
. ${srcdir}/d4test_common.sh . ${srcdir}/d4test_common.sh
echo "test_raw.sh:" echo "test_raw.sh:"
@ -40,7 +41,7 @@ resultclean() {
fi fi
} }
mkdir ./results_test_raw setresultdir results_test_raw
if test "x${RESET}" = x1 ; then rm -fr ${BASELINERAW}/*.dmp ; fi if test "x${RESET}" = x1 ; then rm -fr ${BASELINERAW}/*.dmp ; fi
for f in $F ; do for f in $F ; do
echo "testing: $f" echo "testing: $f"

View File

@ -5,6 +5,8 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ${srcdir}/d4test_common.sh . ${srcdir}/d4test_common.sh
set -e
echo "test_remote.sh:" echo "test_remote.sh:"
#BIG=1 #BIG=1
@ -54,10 +56,12 @@ test_sequence_2.syn
test_struct_array.syn test_struct_array.syn
" "
setresultdir results_test_remote
TESTSERVER=`${execdir}/findtestserver4 dap4 d4ts` TESTSERVER=`${execdir}/findtestserver4 dap4 d4ts`
if test "x$TESTSERVER" = x ; then if test "x$TESTSERVER" = x ; then
echo "***XFAIL: Cannot find d4ts testserver" echo "***XFAIL: Cannot find d4ts testserver"
exit 0 exit 1
fi fi
if test "x${RESET}" = x1 ; then rm -fr ${BASELINER}/*.dmp ; fi if test "x${RESET}" = x1 ; then rm -fr ${BASELINER}/*.dmp ; fi
@ -69,18 +73,20 @@ for f in $F ; do
if test "x$NOCSUM" = x1; then if test "x$NOCSUM" = x1; then
URL="[ucar.checksummode=none]${URL}" URL="[ucar.checksummode=none]${URL}"
fi fi
if ! ${VG} ${NCDUMP} "${URL}" > ./results/${f}.dmp; then if ! ${VG} ${NCDUMP} "${URL}" > ./results_test_remote/${f}.dmp; then
failure "${URL}" failure "${URL}"
fi fi
if test "x${TEST}" = x1 ; then if test "x${TEST}" = x1 ; then
if ! diff -wBb ${BASELINEREM}/${f}.dmp ./results/${f}.dmp ; then if ! diff -wBb ${BASELINEREM}/${f}.dmp ./results_test_remote/${f}.dmp ; then
failure "diff ${f}.dmp" failure "diff ${f}.dmp"
fi fi
elif test "x${RESET}" = x1 ; then elif test "x${RESET}" = x1 ; then
echo "${f}:" echo "${f}:"
cp ./results/${f}.dmp ${BASELINEREM}/${f}.dmp cp ./results_test_remote/${f}.dmp ${BASELINEREM}/${f}.dmp
fi fi
done done
rm -fr ./results_test_remote
finish finish

View File

@ -5,6 +5,8 @@
#include <curl/curl.h> #include <curl/curl.h>
#include "netcdf.h" #include "netcdf.h"
#undef FINDTESTSERVER_DEBUG
#define MAXSERVERURL 4096 #define MAXSERVERURL 4096
#define TIMEOUT 10 /*seconds*/ #define TIMEOUT 10 /*seconds*/
#define BUFSIZE 8192 /*bytes*/ #define BUFSIZE 8192 /*bytes*/
@ -102,6 +104,10 @@ done:
return total; /* pretend we captured everything */ return total; /* pretend we captured everything */
} }
/*
See if a server is responding.
Return NC_ECURL if the ping fails, NC_NOERR otherwise
*/
static int static int
ping(const char* url) ping(const char* url)
{ {
@ -149,7 +155,10 @@ ping(const char* url)
done: done:
if(cstat != CURLE_OK) { if(cstat != CURLE_OK) {
fprintf(stderr, "curl error: %s", curl_easy_strerror(cstat)); #ifdef FINDTESTSERVER_DEBUG
fprintf(stderr, "curl error: %s; url=%s\n",
curl_easy_strerror(cstat),url);
#endif
stat = NC_ECURL; stat = NC_ECURL;
} }
if (curl != NULL) if (curl != NULL)

View File

@ -8,10 +8,10 @@ leakcheck=0
timing=0 timing=0
# Figure our dst server; if none, then just stop # Figure our dst server; if none, then just stop
DTS=`${execdir}/findtestserver dap2 dts` TESTSERVER=`${execdir}/findtestserver dap2 dts`
if test "x$DTS" = "x" ; then if test "x$TESTSERVER" = "x" ; then
echo "WARNING: Cannot locate test server for dts" echo "***XFAIL: Cannot locate test server for dts"
exit exit 1
fi fi
PARAMS="[log]" PARAMS="[log]"
@ -61,14 +61,14 @@ PARAMS="${PARAMS}${CACHE}"
################################################## ##################################################
# For special testing # For special testing
REMOTEURLX="$DTS" REMOTEURLX="$TESTSERVER"
REMOTETESTSX="test.03" REMOTETESTSX="test.03"
REMOTEURLXC="$DTS" REMOTEURLXC="$TESTSERVER"
REMOTETESTSXC="test.03;1;s0,s1" REMOTETESTSXC="test.03;1;s0,s1"
# These shorter tests are always run # These shorter tests are always run
REMOTEURLS1="$DTS" REMOTEURLS1="$TESTSERVER"
REMOTETESTSS1="\ REMOTETESTSS1="\
test.01 test.02 test.04 test.05 test.07a test.07 \ test.01 test.02 test.04 test.05 test.07a test.07 \
test.21 \ test.21 \
@ -101,7 +101,7 @@ TOOBIGL1="parserBug0001 test.satimage Sat_Images test.32"
ESCAPEDFAIL="test.dfr1 test.dfr2 test.dfr3 test.GridFile test.PointFile test.SwathFile test.sds6 test.sds7" ESCAPEDFAIL="test.dfr1 test.dfr2 test.dfr3 test.GridFile test.PointFile test.SwathFile test.sds6 test.sds7"
# Following tests are to check constraint handling # Following tests are to check constraint handling
REMOTEURLC1="$DTS" REMOTEURLC1="$TESTSERVER"
REMOTETESTSC1="\ REMOTETESTSC1="\
test.01;1;f64 \ test.01;1;f64 \
test.02;1;b[1:2:10] \ test.02;1;b[1:2:10] \
@ -130,7 +130,7 @@ argo_all.cdp;1;&location.LATITUDE<1&location.LATITUDE>-1\
" "
# Constrained long tests # Constrained long tests
REMOTEURLLC1="$DTS" REMOTEURLLC1="$TESTSERVER"
REMOTETESTSLC1="\ REMOTETESTSLC1="\
test.03;2;s1" test.03;2;s1"

View File

@ -1,11 +1,9 @@
#! /bin/sh #! /bin/sh
# test-driver - basic testsuite driver script. # test-driver - basic testsuite driver script.
DEBUGTEST="run_examples4.sh" scriptversion=2018-06-26.01; # UTC
scriptversion=2018-01-15.21; # UTC # Copyright (C) 2011-2013 Free Software Foundation, Inc.
# Copyright (C) 2011-2017 Free Software Foundation, Inc.
# #
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
@ -46,12 +44,13 @@ print_usage ()
Usage: Usage:
test-driver --test-name=NAME --log-file=PATH --trs-file=PATH test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
[--expect-failure={yes|no}] [--color-tests={yes|no}] [--expect-failure={yes|no}] [--color-tests={yes|no}]
[--enable-hard-errors={yes|no}] [--] [--enable-hard-errors={yes|no}] [--] TEST-SCRIPT
TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
The '--test-name', '--log-file' and '--trs-file' options are mandatory. The '--test-name', '--log-file' and '--trs-file' options are mandatory.
END END
} }
# TODO: better error handling in option parsing (in particular, ensure
# TODO: $log_file, $trs_file and $test_name are defined).
test_name= # Used for reporting. test_name= # Used for reporting.
log_file= # Where to save the output of the test script. log_file= # Where to save the output of the test script.
trs_file= # Where to save the metadata of the test run. trs_file= # Where to save the metadata of the test run.
@ -70,23 +69,10 @@ while test $# -gt 0; do
--enable-hard-errors) enable_hard_errors=$2; shift;; --enable-hard-errors) enable_hard_errors=$2; shift;;
--) shift; break;; --) shift; break;;
-*) usage_error "invalid option: '$1'";; -*) usage_error "invalid option: '$1'";;
*) break;;
esac esac
shift shift
done done
missing_opts=
test x"$test_name" = x && missing_opts="$missing_opts --test-name"
test x"$log_file" = x && missing_opts="$missing_opts --log-file"
test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
if test x"$missing_opts" != x; then
usage_error "the following mandatory options are missing:$missing_opts"
fi
if test $# -eq 0; then
usage_error "missing argument"
fi
if test $color_tests = yes; then if test $color_tests = yes; then
# Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'. # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
red='' # Red. red='' # Red.
@ -105,25 +91,14 @@ trap "st=130; $do_exit" 2
trap "st=141; $do_exit" 13 trap "st=141; $do_exit" 13
trap "st=143; $do_exit" 15 trap "st=143; $do_exit" 15
set -x
# Test script is run here. # Test script is run here.
"$@" >$log_file 2>&1 "$@" >$log_file 2>&1
estatus=$? estatus=$?
if test "x$test_name" = "x$DEBUGTEST" ; then
cat $log_file
fi
if test $enable_hard_errors = no && test $estatus -eq 99; then if test $enable_hard_errors = no && test $estatus -eq 99; then
tweaked_estatus=1 estatus=1
else
tweaked_estatus=$estatus
fi fi
cat $log_file case $estatus:$expect_failure in
case $tweaked_estatus:$expect_failure in
0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
0:*) col=$grn res=PASS recheck=no gcopy=no;; 0:*) col=$grn res=PASS recheck=no gcopy=no;;
77:*) col=$blu res=SKIP recheck=no gcopy=yes;; 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
@ -132,11 +107,9 @@ case $tweaked_estatus:$expect_failure in
*:*) col=$red res=FAIL recheck=yes gcopy=yes;; *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
esac esac
# Report the test outcome and exit status in the logs, so that one can echo "begin $log_file"
# know whether the test passed or failed simply by looking at the '.log' cat $log_file
# file, without the need of also peaking into the corresponding '.trs' echo "end $log_file"
# file (automake bug#11814).
echo "$res $test_name (exit status: $estatus)" >>$log_file
# Report outcome to console. # Report outcome to console.
echo "${col}${res}${std}: $test_name" echo "${col}${res}${std}: $test_name"
@ -153,6 +126,6 @@ echo ":copy-in-global-log: $gcopy" >> $trs_file
# eval: (add-hook 'write-file-hooks 'time-stamp) # eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion=" # time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC0" # time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC" # time-stamp-end: "; # UTC"
# End: # End: