contrib/gcc-test-suite/default.cfg
author Johannes Stezenbach <js@sig21.net>
Tue Oct 30 00:22:25 2012 +0000 (2012-10-30)
changeset 3097 5c67476c7342
parent 1965 e3d532dd8b5d
permissions -rw-r--r--
scripts/functions: fix endless loop in debug-shell with IO redirection

CT_DEBUG_INTERACTIVE is disabled when stdin, stdout or
stderr are redirected, but the check is only done at
the start of the build and doesn't catch when individual
build commands use redirection. When stdin is redirected
it will cause the debug shell to exit immediately, causing
and endless loop. Thus, save the stdin/our/err file handles
and restore them before invoking the debug shell.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Message-Id: <20121030102225.GA8303@sig21.net>
Patchwork-Id: 195409
mgl@1965
     1
# Default test suite configuration
mgl@1965
     2
mgl@1965
     3
# Default DejaGnu configuration
mgl@1965
     4
DG_TOOLNAME = gcc
mgl@1965
     5
DG_TARGET_HOSTNAME = 127.0.0.1
mgl@1965
     6
DG_TARGET_USERNAME = root
mgl@1965
     7
mgl@1965
     8
# Default tests
mgl@1965
     9
DG_C_TESTS = 
mgl@1965
    10
DG_CPP_TESTS =