Paolo Carlini <paolo.carl...@oracle.com> writes:

> On 04/08/2014 11:01 AM, Andreas Schwab wrote:
>> Jason Merrill <ja...@redhat.com> writes:
>>
>>> richi asked for a testcase for 60731, and since we didn't already have
>>> support for tests using dlopen, I had to add it.  Does this approach make
>>> sense?
>> ERROR: tcl error sourcing 
>> /usr/local/gcc/gcc-20140408/gcc/testsuite/g++.dg/dg.exp.
>> ERROR: can't rename "dg-save-unknown": command doesn't exist
>>      while executing
>> "rename dg-save-unknown unknown"
>>      (procedure "saved-dg-test" line 96)
>>      invoked from within
>> "saved-dg-test 
>> /usr/local/gcc/gcc-20140408/gcc/testsuite/g++.dg/dso/dlclose1.C -std=c++98 { 
>> -pedantic-errors -Wno-long-long}"
>>      ("eval" body line 1)
>>      invoked from within
>> "eval saved-dg-test $args"
>>      (procedure "dg-test" line 11)
>>      invoked from within
>> "dg-test $test $flags ${default-extra-flags}"
>>      (procedure "g++-dg-runtest" line 27)
>>      invoked from within
>> "g++-dg-runtest $tests $DEFAULT_CXXFLAGS"
>>      (file "/usr/local/gcc/gcc-20140408/gcc/testsuite/g++.dg/dg.exp" line 60)
>>      invoked from within
>> "source /usr/local/gcc/gcc-20140408/gcc/testsuite/g++.dg/dg.exp"
>>      ("uplevel" body line 1)
>>      invoked from within
>> "uplevel #0 source /usr/local/gcc/gcc-20140408/gcc/testsuite/g++.dg/dg.exp"
>>      invoked from within
>> "catch "uplevel #0 source $test_file_name""
> I can confirm this.

I guess this depends on dejagnu >= 1.5, which added support for nested
calls to dg-test.

Andreas.

-- 
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to