]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/testsuite/binutils-all/mips/mips.exp
MIPS/binutils/testsuite: Define names of temporary files
authorMaciej W. Rozycki <macro@imgtec.com>
Wed, 10 May 2017 18:03:15 +0000 (19:03 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Wed, 10 May 2017 18:05:50 +0000 (19:05 +0100)
commit40e5240e1f32b1cc36c45551eb3f59253c40f317
tree35544ca946a113f77fa24b15b34a667c15cad67d
parent5d69120bfff3e532242083acd636dc68f23ea831
MIPS/binutils/testsuite: Define names of temporary files

Define `tempfile' and `copyfile' in `mips.exp' so that standalone script
execution via `RUNTESTFLAGS=mips.exp' works rather than producing:

Running .../binutils/testsuite/binutils-all/mips/mips.exp ...
ERROR: tcl error sourcing
.../binutils/testsuite/binutils-all/mips/mips.exp.
ERROR: can't read "tempfile": no such variable
    while executing
"binutils_assemble_flags ${srcfile} $tempfile $opts(as)"
    (procedure "run_dump_test" line 207)
    invoked from within
"run_dump_test "mips-ase-1""
    invoked from within
"if [is_elf_format] {
    run_dump_test "mips-ase-1"
    run_dump_test "mips-ase-2"
    run_dump_test "mips-ase-3"
    run_dump_test "mixed-mips16"
   ..."
    (file ".../binutils/testsuite/binutils-all/mips/mips.exp" line 22)
    invoked from within
"source .../binutils/testsuite/binutils-all/mips/mips.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source .../binutils/testsuite/binutils-all/mips/mips.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""
testcase .../binutils/testsuite/binutils-all/mips/mips.exp completed in 0 seconds

binutils/
* testsuite/binutils-all/mips/mips.exp: Define `tempfile' and
`copyfile' variables.
binutils/ChangeLog
binutils/testsuite/binutils-all/mips/mips.exp