contrib/gcc-test-suite/default.cfg
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Fri Jul 29 13:04:49 2011 +0200 (2011-07-29)
changeset 2574 6e1412ba8da9
parent 1965 e3d532dd8b5d
permissions -rw-r--r--
scripts/functions: force extract folder to archive basename

Some archives like those of the 2011.07 revisions of Linaro GCC contain a folder
name different from the archive basename, which leads to errors afterwards, e.g.
when patching. E.g.:
gcc-linaro-4.5-2011.07.tar.bz2 extracts to gcc-linaro-4.5-2011.07-0/

This patch changes CT_Extract() to force the extraction of all archives to a
folder named like the archive basename. E.g.:
gcc-linaro-4.5-2011.07.tar.bz2 now extracts to gcc-linaro-4.5-2011.07/

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
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 =