From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1139 invoked by alias); 13 Dec 2011 10:49:09 -0000 Received: (qmail 1112 invoked by uid 22791); 13 Dec 2011 10:49:07 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_GC,TW_IB X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Dec 2011 10:48:54 +0000 From: "jojelino at gmail dot com" To: java-prs@gcc.gnu.org Subject: [Bug libgcj/51498] [4.7 regression] temporary hack to make dejagnu work in libjava Date: Tue, 13 Dec 2011 10:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcj X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jojelino at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2011-q4/txt/msg00042.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51498 --- Comment #5 from gee 2011-12-13 10:48:50 UTC --- (In reply to comment #4) > None of the testsuite Makefiles for other libraries do anything similar > (libgomp, libstdc++-v3, ..., so why is libjava so special that it needs it?). > make check definitely works just fine for me and uses the newly built gcj etc. > rather than the system gcj. So please expand on what exact errors you saw, > details from the libjava.log where it shows etc. /usr/bin/make check-DEJAGNU make[1]: Entering directory `/tmp/gcc/i686-pc-mingw32/libjava/testsuite' Making a new site.exp file... srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd ../../.././libjava/testsuite && pwd`; export srcdir; \ EXPECT=`if [ -f ../../expect/expect ] ; then echo ../../expect/expect ; else echo expect ; fi`; export EXPECT; \ runtest="`if [ -f ../../.././libjava/../dejagnu/runtest ] ; then echo ../../.././libjava/../dejagnu/runtest ; else echo runtest; fi` INTERPRETER=yes"; \ if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \ exit_status=0; l='libjava'; for tool in $l; do \ if $runtest INTERPRETER=yes --tool $tool --srcdir $srcdir ; \ then :; else exit_status=1; fi; \ done; \ else echo "WARNING: could not find \`runtest'" 1>&2; :;\ fi; \ exit $exit_status WARNING: Couldn't find the global config file. Test Run By Administrator on Tue Dec 13 19:48:20 2011 Target is i686-pc-mingw32 Host is i686-pc-mingw32 Build is i686-pc-cygwin === libjava tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using /tmp/gcc/libjava/testsuite/config/default.exp as tool-and-target-specific interface file. WARNING: Assuming target board is the local machine (which is probably wrong). You may need to set your DEJAGNU environment variable. Running /tmp/gcc/libjava/testsuite/libjava.cni/cni.exp ... couldn't execute "gcj": no such file or directory while executing "exec gcj -B/tmp/gcc/i686-pc-mingw32/libjava/testsuite/../ -v 2>@ stdout" ("eval" body line 1) invoked from within "eval exec "$GCJ_UNDER_TEST -B$specdir -v 2>@ stdout"" (procedure "libjava_init" line 46) invoked from within "${tool}_init $test_file_name" invoked from within "if [info exists tool] { if { [info procs "${tool}_init"] != "" } { ${tool}_init $test_file_name; } }" invoked from within "if [file exists $test_file_name] { set timestart [timestamp]; if [info exists tool] { if { [info procs "${tool}_init"] != "" } { ${tool}_ini..." (procedure "runtest" line 14) invoked from within "runtest $test_name" ("foreach" body line 42) invoked from within "foreach test_name [lsort [find ${dir} *.exp]] { if { ${test_name} == "" } { continue } # Ignore this one if asked to. if { ${ignore..." ("foreach" body line 54) invoked from within "foreach dir "${test_top_dirs}" { if { ${dir} != ${srcdir} } { # Ignore this directory if is a directory to be # ignored. if {[info..." ("foreach" body line 121) invoked from within "foreach pass $multipass { # multipass_name is set for `record_test' to use (see framework.exp). if { [lindex $pass 0] != "" } { set multipass_..." ("foreach" body line 51) invoked from within "foreach current_target $target_list { verbose "target is $current_target"; set current_target_name $current_target; set tlist [split $curr..." (file "/usr/share/dejagnu/runtest.exp" line 1623) Makefile:385: recipe for target `check-DEJAGNU' failed make[1]: *** [check-DEJAGNU] Error 1 make[1]: Leaving directory `/tmp/gcc/i686-pc-mingw32/libjava/testsuite' Makefile:403: recipe for target `check-am' failed make: *** [check-am] Error 2