aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-03-26 00:57:54 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2021-03-28 14:47:36 +0200
commitbe080b17271cfbe3b8b46d9ca635f8d77de2088e (patch)
tree7f709385a7d09fbd495432020a53e24b8d411c66 /gcc/fold-const.c
parent0907036f4541cfb51a626ef13c282f7be2098add (diff)
downloadgcc-be080b17271cfbe3b8b46d9ca635f8d77de2088e.zip
gcc-be080b17271cfbe3b8b46d9ca635f8d77de2088e.tar.gz
gcc-be080b17271cfbe3b8b46d9ca635f8d77de2088e.tar.bz2
d: Don't create gdc.test symlink in the gdc testsuite directory
Instead, tests are copied from the source tree (i.e: $srcdir/compilable) into the test base directory ($base_dir/compilable). A dejagnu test file with all translated test directives is created in a path that follows DejaGnu naming conventions ($base_dir/gdc.test/compilable), which is then passed to `dg-test'. Before invoking the compiler, the gdc.test prefixed is trimmed from the test program in `gdc-dg-test' so that all copied test files are picked up with the correct path names. gcc/testsuite/ChangeLog: * lib/gdc-utils.exp (gdc-copy-extra): Rename to... (gdc-copy-file): ... this. Use file copy instead of open/close. (gdc-convert-test): Save translated dejagnu test to gdc.test directory, only write dejagnu directives to the test file. (gdc-do-test): Don't create gdc.test symlink.
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions