RFA: Testsuite PATCH to add support for dlopen tests

Andreas Schwab schwab@suse.de
Tue Apr 8 09:01:00 GMT 2014


Jason Merrill <jason@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""

Andreas.

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



More information about the Gcc-patches mailing list