Changeset 1391 for branches/GNU/src/gcc/libjava/testsuite
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/testsuite/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 2003-02-05 Release Manager 2 3 * GCC 3.2.2 Released. 4 5 2002-11-19 Release Manager 6 7 * GCC 3.2.1 Released. 8 9 2002-11-19 Release Manager 10 11 * GCC 3.2.1 Released. 12 13 2002-11-18 Release Manager 14 15 * GCC 3.2.1 Released. 1 2004-02-14 Release Manager 2 3 * GCC 3.3.3 Released. 4 5 2003-10-16 Release Manager 6 7 * GCC 3.3.2 Released. 8 9 2003-08-04 Release Manager 10 11 * GCC 3.3.1 Released. 12 13 2003-08-04 Release Manager 14 15 * GCC 3.3.1 Released. 16 17 2003-05-13 Release Manager 18 19 * GCC 3.3 Released. 20 21 2003-05-13 Release Manager 22 23 * GCC 3.3 Released. 24 25 2003-05-13 Release Manager 26 27 * GCC 3.3 Released. 28 29 2003-05-06 Tom Tromey <tromey@redhat.com> 30 31 * libjava.lang/verify.java: New file. 32 * libjava.lang/verify.out: New file. 33 34 2003-05-02 Tom Tromey <tromey@redhat.com> 35 36 PR java/10459: 37 * libjava.compile/pr10459_2.java: New file. 38 * libjava.compile/pr10459.java: New file. 39 40 2003-05-01 Tom Tromey <tromey@redhat.com> 41 42 PR libgcj/10582: 43 * libjava.lang/assign.java: New file. 44 * libjava.lang/assign.out: New file. 45 46 2003-04-16 Tom Tromey <tromey@redhat.com> 47 48 * libjava.mauve/xfails: Added some more failing tests. 49 50 2003-04-16 Mark Mitchell <mark@codesourcery.com> 51 52 PR middle-end/8866 53 * libjava.lang/PR8866.java: New test. 54 55 2003-04-16 Andrew Haley <aph@redhat.com> 56 57 * libjava.lang/Throw_2.java (main): Make a successful test produce 58 some output. 59 60 2003-03-10 Tom Tromey <tromey@redhat.com> 61 62 * libjava.lang/initfield.java: New file. 63 * libjava.lang/initfield.out: New file. 64 65 2003-03-10 Tom Tromey <tromey@redhat.com> 66 67 * libjava.jacks/jacks.xfail: Updated to reflect reality. 68 69 2003-03-02 Mark Wielaard <mark@klomp.org> 70 71 * libjava.mauve/xfails: Remove all AcuniaPropertiesTest failures 72 73 2003-02-16 Mark Wielaard <mark@klomp.org> 74 75 * libjava.mauve/xfails: Add Class.reflect2 and String.getBytes FAILs. 76 77 2003-02-15 Mark Wielaard <mark@klomp.org> 78 79 * lib/libjava.exp (test_libjava_from_javac): Use regsub not string map. 80 * libjava.mauve/mauve.exp (mauve_compute_uses): Likewise. 81 (test_mauve): Likewise. 82 83 2003-02-14 Mark Wielaard <mark@klomp.org> 84 85 * lib/libjava.exp (test_libjava_from_javac): Don't create .o files 86 containing $ characters and always quote class files with "'"s. 87 88 2003-02-14 Mark Wielaard <mark@klomp.org> 89 90 * libjava.mauve/mauve.exp (mauve_compute_uses): Add inner class 91 object files by changing all occurances of $ to ^. 92 (test_mauve): Replace ^ with $ for class file names and quote 93 them with "'"s. 94 95 2003-02-13 Tom Tromey <tromey@redhat.com> 96 97 * libjava.mauve/xfails: Added entries for an unimplemented Class 98 method. 99 100 2003-02-07 Mark Wielaard <mark@klomp.org> 101 102 * libjava.mauve/xfails: Add new entries for 103 gnu.testlet.java.text.CollationElementIterator.jdk11 104 105 2003-02-03 Ulrich Weigand <uweigand@de.ibm.com> 106 107 * libjava.jacks/jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH 108 to find libgcc_s. Set JAVA_CLASSPATH to find libgcj.jar. 109 110 2003-01-31 Mark Wielaard <mark@klomp.org> 111 112 * lib/libjava.exp (libjava_prune_warnings): Remove all unreachable 113 bytecode warnings. 114 115 2003-01-28 Tom Tromey <tromey@redhat.com> 116 117 * libjava.jacks/jacks.xfail: More lexer tests now pass. 118 119 2003-01-27 Tom Tromey <tromey@redhat.com> 120 121 * libjava.compile/consthrow.java: New file. 122 * libjava.compile/consthrow.xfail: New file. 123 124 2003-01-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 125 126 * libjava.lang/pr8823.xfail: New file, add "xfail-byte". 127 128 2003-01-24 Ranjit Mathew <rmathew@hotmail.com> 129 130 * libjava.jni/calls.c (Java_calls_docall): Define with 131 JNIEXPORT and JNICALL method attributes. 132 * libjava.jni/field.c (Java_field_fetch): Likewise. 133 * libjava.jni/final_method.c (Java_final_1method_meth): Likewise. 134 * libjava.jni/findclass.c (Java_findclass_doit): Likewise. 135 * libjava.jni/invoke.c (Java_invoke_val): Likewise. 136 * libjava.jni/martin.c (Java_martin_myNative): Likewise. 137 * libjava.jni/noclass.c (Java_noclass_find_1it): Likewise. 138 * libjava.jni/overload.c (Java_overload_over__I): Likewise. 139 (Java_overload_over__II): Likewise. 140 * libjava.jni/register.c (JNI_OnLoad): Likewise. 141 * libjava.jni/simple_int.c (Java_simple_1int_nat): Likewise. 142 * libjava.jni/throwit.c (Java_throwit_throwit): Likewise. 143 * libjava.jni/virtual.c (Java_virtual_equals): Likewise. 144 145 2003-01-21 Tom Tromey <tromey@redhat.com> 146 147 * libjava.jacks/jacks.xfail: All 8.4.3 tests and 9.4-modifier-10 148 now pass. 149 150 2003-01-12 Tom Tromey <tromey@redhat.com> 151 152 Fix for PR libgcj/9139: 153 * lib/libjava.exp (find_javac): Put value of libgcj_jar into 154 return value when gcj is used. 155 * libjava.mauve/mauve.exp (test_mauve): Use libgcj_jar global. 156 157 2003-01-03 Tom Tromey <tromey@redhat.com> 158 159 * libjava.compile/pr8712.java: New file, for PR java/8712. 160 161 2003-01-01 Tom Tromey <tromey@redhat.com> 162 163 * libjava.compile/pr8955.java: New test, for PR java/8955. 164 165 2002-12-19 Tom Tromey <tromey@redhat.com> 166 167 * libjava.jacks/jacks.xfail: Updated. 168 169 2002-12-18 Tom Tromey <tromey@redhat.com> 170 171 * libjava.lang/pr8945.java: New file. 172 * libjava.lang/pr8945.out: New file. 173 174 2002-12-12 Tom Tromey <tromey@redhat.com> 175 176 * libjava.loader/loader.exp (gcj_loader_test_one): Use 177 libjava_prune_warnings. 178 (gcj_loader_run): Likewise. 179 * libjava.mauve/mauve.exp (test_mauve): Use 180 libjava_prune_warnings. 181 (test_mauve_sim): Likewise. 182 * libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use 183 libjava_prune_warnings. 184 (gcj_jni_build_header): Likewise. 185 * lib/libjava.exp (libjava_prune_warnings): New proc. 186 (gcj_link): Use it. 187 (test_libjava_from_source): Likewise. 188 (test_libjava_from_javac): Likewise. 189 190 2002-12-08 Tom Tromey <tromey@redhat.com> 191 192 Test for PR libgcj/8823: 193 * libjava.lang/pr8823.java: New file. 194 * libjava.lang/pr8823.out: New file. 195 196 2002-12-05 Tom Tromey <tromey@redhat.com> 197 198 * libjava.lang/override.java: New file. 199 * libjava.lang/override.out: New file. 200 201 2002-12-01 Tom Tromey <tromey@redhat.com> 202 203 * libjava.jacks/jacks.exp (gcj_jacks_setup_xfail): New function. 204 (gcj_jacks_parse): Use it; set up xfails. 205 * libjava.jacks/jacks.xfail: New file. 206 207 2002-12-01 Mark Wielaard <mark@klomp.org> 208 209 * libjava.mauve/xfails: Remove Inspector FAILs that now PASS. 210 211 2002-11-21 Tom Tromey <tromey@redhat.com> 212 213 For PR java/8676: 214 * libjava.lang/pr8676.java: New file. 215 * libjava.lang/pr8676.out: New file. 216 217 2002-11-21 Ulrich Weigand <uweigand@de.ibm.com> 218 219 * libjava.loader/loader.exp (gcj_loader_test_one): Fix typo in 220 'type' argument to libjava_tcompile. 221 (gcj_loader_run): Use libjava_tcompile instead of running 222 GCJ_UNDER_TEST directly. 223 224 2002-11-05 Tom Tromey <tromey@redhat.com> 225 226 * libjava.jacks/jacks.exp: New file. 227 228 2002-11-04 Tom Tromey <tromey@redhat.com> 229 230 * libjava.compile/pr7912.java: New file. 231 232 2002-11-04 Andrew Haley <aph@redhat.com> 233 234 * libjava.lang/utilTest.java: New. 235 * libjava.lang/utilTest.out: New. 236 237 2002-11-04 Anthony Green <green@redhat.com> 238 239 * libjava.loader/MyLoader.java: New constructor. 240 * libjava.loader/TestParent.java: New file. 241 * libjava.loader/TestParent.out: New file. 242 243 2002-11-04 Anthony Green <green@redhat.com> 244 245 * libjava.loader/TestEarlyGC.java, 246 libjava.loader/TestEarlyGC.out: New files (from 247 Jeff Sturm). 248 249 2002-11-04 Anthony Green <green@redhat.com> 250 251 * libjava.loader/dummy.java, libjava.loader/loader.exp, 252 libjava.loader/MyLoader.java, libjava.loader/TestLeak.java, 253 libjava.loader/TestLeak.out, libjava.loader/TestMultiple.java, 254 libjava.loader/TestMultiple.out: New files. 255 256 2002-11-02 Tom Tromey <tromey@redhat.com> 257 258 * libjava.lang/initexc.java (fail): Static initializers must be 259 able to complete normally. From Eric Blake. 260 261 * libjava.lang/initexc.java: New file. 262 * libjava.lang/initexc.out: New file. 263 264 2002-11-01 Tom Tromey <tromey@redhat.com> 265 266 For PR java/8415: 267 * libjava.lang/pr8415.java: New file. 268 * libjava.lang/pr8415.out: New file. 269 270 * libjava.mauve/mauve.exp (find_mauve_sources): New proc. 271 (test_mauve): Use it. 272 (test_mauve_sim): Likewise. 16 273 17 274 2002-10-24 Tom Tromey <tromey@redhat.com> … … 19 276 * libjava.lang/Primes.java: Removed. 20 277 * libjava.lang/Primes.out: Removed. 278 279 2002-10-23 Tom Tromey <tromey@redhat.com> 280 281 For PR java/6388: 282 * libjava.lang/pr6388.java: New file. 283 * libjava.lang/pr6388.out: New file. 284 285 2002-10-15 Andrew Haley <aph@redhat.com> 286 287 * libjava.lang/EvaluationOrder.java (EvaluationOrder): New. 288 * libjava.lang/EvaluationOrder.out (EvaluationOrder): New. 289 290 2002-10-14 Andrew Haley <aph@redhat.com> 291 292 * libjava.lang/StaticConstructor.java: New. 293 * libjava.lang/StaticConstructor.out: New. 294 295 2002-10-13 Mark Wielaard <mark@klomp.org> 296 297 * libjava.mauve/xfails: Remove tests that now XPASS. 298 299 2002-10-03 Andrew Haley <aph@redhat.com> 300 301 * libjava.lang/Array_3.java (baz): New. 302 (main): Call baz. 303 304 2002-09-29 Anthony Green <green@redhat.com> 305 306 * libjava.lang/TestProxy.java: New file. 307 * libjava.lang/TestProxy.out: Ditto. 308 309 2002-09-29 Anthony Green <green@redhat.com> 310 311 * libjava.lang/utf8concat.java: New file. 312 * libjava.lang/utf8concat.out: Ditto. 313 314 2002-08-26 Tom Tromey <tromey@redhat.com> 315 316 * libjava.compile/narrow_case.java: New file. 317 318 2002-08-25 Adam Megacz <adam@xwt.org> 319 320 * lib/libjava.exp: don't apply -no-install when platform is mingw. 21 321 22 322 2002-08-16 H.J. Lu <hjl@gnu.org> … … 27 327 (libjava_arguments): Use libgcj_jar. 28 328 29 2002-08-14 Release Manager 30 31 * GCC 3.2 Released. 32 33 2002-07-25 Release Manager 34 35 * GCC 3.1.1 Released. 36 37 2002-04-12 Anthony Green <green@redhat.com> 38 39 * lib/libjava.exp: Use libgcj-VERSION.jar, not libgcj-3.1.jar. 40 41 2002-05-14 Release Manager 42 43 * GCC 3.1 Released. 44 45 2002-05-14 Release Manager 46 47 * GCC 3.1 Released. 329 2002-07-22 Tom Tromey <tromey@redhat.com> 330 331 * libjava.compile/zeroexp.java: New file. 332 333 2002-07-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 334 335 * libjava.compile/compile.exp: Sort sources. 336 * libjava.jni/jni.exp (gcj_jni_run): Likewise. 337 * libjava.lang/lang.exp: Likewise. 338 339 2002-07-02 Andrew Haley <aph@redhat.com> 340 341 * libjava.lang/inline.java: New file. 342 * libjava.lang/inline.out: Likewise. 343 344 * libjava.lang/Array_3.java: Add another case. 345 346 2002-06-23 Tom Tromey <tromey@redhat.com> 347 348 * Makefile.in: Rebuilt. 349 * Makefile.am (RUNTEST): Added AM_RUNTESTFLAGS. 350 (AM_RUNTESTFLAGS): New variable. 351 (RUNTESTFLAGS): Don't define. 352 * lib/libjava.exp (libjava_invoke): New proc. 353 (test_libjava_from_source): Use it. 354 (test_libjava_from_javac): Likewise. 355 (libjava_find_gij): New proc. 356 357 2002-06-12 Tom Tromey <tromey@redhat.com> 358 359 * lib/libjava.exp (test_libjava): Fixed typo. 360 * libjava.compile/PR6865.xfail: New file. 361 362 2002-06-11 Tom Tromey <tromey@redhat.com> 363 364 * libjava.compile/PR6865.java: New file. For PR java/6865. 365 366 * libjava.lang/PR6520.java: Fixed typo. 367 368 2002-06-10 Tom Tromey <tromey@redhat.com> 369 370 * libjava.lang/PR6520.java: New file. For PR java/6520. 371 372 2002-06-04 Tom Tromey <tromey@redhat.com> 373 374 * libjava.compile/T20020604.java: New file. 375 376 For PR libgcj/6389: 377 * libjava.mauve/xfails: Now passes System.getProperty test. 378 379 For PR java/1343 and PR java/6336: 380 * libjava.compile/PR1343.java: New file. 381 382 For PR java/5913: 383 * libjava.compile/PR5913.xfail: Removed. 384 385 2002-05-29 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 386 387 * libjava.compile/T20020529.java: New file. 388 389 2002-05-27 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 390 391 * libjava.lang/PR6820.java: New file. 392 * libjava.lang/PR6820.out: New file. 393 394 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 395 396 * libjava.lang/PR6729.java: New file. 397 * libjava.lang/PR6729.out: New file. 398 399 2002-05-04 Mark Wielaard <mark@klomp.org> 400 401 For PR java/6519: 402 * libjava.lang/emptystring.java: New. 403 * libjava.lang/emptystring.out: New. 48 404 49 405 2002-04-21 Mark Wielaard <mark@klomp.org> … … 59 415 2002-04-14 Mark Wielaard <mark@klomp.org> 60 416 61 62 417 * libjava.mauve/xfails: Expect failures for PR libgcj/6302 and 418 libgcj/6298. 63 419 64 420 2002-04-14 Mark Wielaard <mark@klomp.org> … … 67 423 libgcj/6295, libgcj/6296 and libgcj/6297. 68 424 69 2002-04-11 Anthony Green <green@redhat.com> 70 71 * lib/libjava.exp: Use libgcj-3.1.jar, not libgcj.jar. 425 2002-04-12 Anthony Green <green@redhat.com> 426 427 * lib/libjava.exp: Use libgcj-VERSION.jar, not libgcj.jar. 428 429 2002-04-12 Loren J. Rittle <ljrittle@acm.org> 430 431 * libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out: 432 New test case. 433 434 2002-04-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 435 436 * libjava.lang/PR6204.java, libjava.lang/PR6204.out: New test case. 437 * libjava.lang/PR6085.java, libjava.lang/PR6085.out: Likewise. 72 438 73 439 2002-04-07 Mark Wielaard <mark@klomp.org> -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/Makefile.am
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 8 8 else echo expect ; fi` 9 9 10 RUNTEST = `if [ -f $(top_srcdir)/../dejagnu/runtest ] ; then \10 RUNTEST = "`if [ -f $(top_srcdir)/../dejagnu/runtest ] ; then \ 11 11 echo $(top_srcdir)/../dejagnu/runtest ; \ 12 else echo runtest; fi` 12 else echo runtest; fi` $(AM_RUNTESTFLAGS)" 13 13 14 RUNTESTFLAGS = @AM_RUNTESTFLAGS@ 15 14 ## Tell dejagnu whether the interpreter is enabled. 15 AM_RUNTESTFLAGS = INTERPRETER=$(INTERPRETER) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/Makefile.in
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 # Makefile.in generated automatically by automake 1.4 -p5from Makefile.am2 3 # Copyright (C) 1994, 1995-8, 1999 , 2001Free Software Foundation, Inc.1 # Makefile.in generated automatically by automake 1.4 from Makefile.am 2 3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 4 # This Makefile.in is free software; the Free Software Foundation 5 5 # gives unlimited permission to copy and/or distribute it, … … 64 64 target_alias = @target_alias@ 65 65 target_triplet = @target@ 66 AM_RUNTESTFLAGS = @AM_RUNTESTFLAGS@67 66 AR = @AR@ 68 67 AS = @AS@ 68 BACKTRACESPEC = @BACKTRACESPEC@ 69 69 CC = @CC@ 70 70 CHECKREFSPEC = @CHECKREFSPEC@ … … 88 88 GCTESTSPEC = @GCTESTSPEC@ 89 89 HASH_SYNC_SPEC = @HASH_SYNC_SPEC@ 90 IEEESPEC = @IEEESPEC@ 90 91 INCLTDL = @INCLTDL@ 92 INTERPRETER = @INTERPRETER@ 91 93 JC1GCSPEC = @JC1GCSPEC@ 92 94 LIBFFI = @LIBFFI@ … … 130 132 mkinstalldirs = @mkinstalldirs@ 131 133 tool_include_dir = @tool_include_dir@ 134 toolexecdir = @toolexecdir@ 135 toolexeclibdir = @toolexeclibdir@ 136 toolexecmainlibdir = @toolexecmainlibdir@ 132 137 133 138 AUTOMAKE_OPTIONS = foreign dejagnu … … 139 144 140 145 141 RUNTEST = `if [ -f $(top_srcdir)/../dejagnu/runtest ] ; then \146 RUNTEST = "`if [ -f $(top_srcdir)/../dejagnu/runtest ] ; then \ 142 147 echo $(top_srcdir)/../dejagnu/runtest ; \ 143 else echo runtest; fi` 144 145 146 RUNTESTFLAGS = @AM_RUNTESTFLAGS@ 148 else echo runtest; fi` $(AM_RUNTESTFLAGS)" 149 150 151 AM_RUNTESTFLAGS = INTERPRETER=$(INTERPRETER) 147 152 CONFIG_HEADER = ../include/config.h ../gcj/libgcj-config.h 148 153 CONFIG_CLEAN_FILES = … … 187 192 fi; \ 188 193 done 194 195 RUNTESTFLAGS = 189 196 190 197 DEJATOOL = $(PACKAGE) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/lib/libjava.exp
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 # Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation1 # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation 2 2 3 3 load_lib "libgloss.exp" … … 9 9 if ![info exists tmpdir] { 10 10 set tmpdir "/tmp" 11 } 12 13 # This is like `prune_warnings', but it also prunes away a warning 14 # from the bytecode front end that we don't care about. 15 proc libjava_prune_warnings {text} { 16 set text [prune_warnings $text] 17 set tlist [split $text \n] 18 set len [llength $tlist] 19 for {set i [expr {$len - 1}]} {$i >= 2} {incr i -1} { 20 if {[string match "*unreachable bytecode*" [lindex $tlist $i]]} { 21 # Delete this line, all other unreachable warnings and the previous 22 # two lines containing the method and class. 23 set j [expr {$i - 1}] 24 while {[string match "*unreachable bytecode*" [lindex $tlist $j]]} { 25 incr j -1 26 } 27 incr j -1 28 set tlist [lreplace $tlist $j $i] 29 set i $j 30 } 31 } 32 return [join $tlist \n] 11 33 } 12 34 … … 59 81 60 82 proc find_javac {} { 61 global SUN_JAVAC GCJ_UNDER_TEST env 83 global SUN_JAVAC GCJ_UNDER_TEST env libgcj_jar 62 84 # If JDK doesn't run on your platform but some other 63 85 # JDK-compatible javac does, you may set SUN_JAVAC to point to it. … … 72 94 set SUN_JAVAC $env(SUN_JAVAC) 73 95 } else { 74 set SUN_JAVAC "$GCJ_UNDER_TEST -C "96 set SUN_JAVAC "$GCJ_UNDER_TEST -C -I$libgcj_jar" 75 97 } 76 98 } … … 205 227 # paths. However we can't simply use those libraries; we still need 206 228 # libtool for linking. 229 # Don't return the the lib${name}.la files here, since this causes the 230 # libraries to be linked twice: once as lib${name}.so and another time 231 # via gcj's implicit -l${name}. This is both unnecessary and causes the 232 # Solaris ld to warn: attempted multiple inclusion of file. This warning 233 # is not ignored by the dejagnu framework and cannot be disabled. 207 234 proc libjava_find_lib {dir name} { 208 235 global base_dir … … 239 266 } 240 267 return "$objdir/../" 268 } 269 270 # Find `gij'. 271 proc libjava_find_gij {} { 272 global base_dir 273 set gp [get_multilibs] 274 if {$gp != ""} { 275 set file $gp/libjava/gij 276 } else { 277 set file $base_dir/../gij 278 } 279 280 if {[file exists $file]} { 281 return $file 282 } 283 return gij 241 284 } 242 285 … … 383 426 384 427 # Avoid libtool wrapper scripts when possible. 428 # but not if libtool warnings results in FAILs 385 429 if {$mode == "link"} { 386 lappend args "additional_flags=-no-install" 430 if {! [istarget "*-*-cygwin*"] && ! [istarget "*-*-mingw*"] } { 431 lappend args "additional_flags=-no-install" 432 } 387 433 } 388 434 … … 398 444 } 399 445 lappend arguments "additional_flags=--main=$main" 400 set x [ prune_warnings [libjava_tcompile $files $program executable\401 446 set x [libjava_prune_warnings \ 447 [libjava_tcompile $files $program executable $arguments]] 402 448 if {$x != ""} { 403 449 verbose "link failure: $x" 2 … … 412 458 } 413 459 414 # 415 # Run the test specified by srcfile and resultfile. compile_args and 416 # exec_args are options telling this proc how to work. 417 # 418 proc test_libjava_from_source { options srcfile compile_args inpfile resultfile exec_args } { 419 global base_dir 420 global LIBJAVA 421 global LIBGC 422 global srcdir subdir objdir 423 global TOOL_OPTIONS 424 global GCJ_UNDER_TEST 425 global tmpdir 426 global runtests 427 428 # Make opts into an array. 429 set opts(_) x 430 unset opts(_) 431 foreach item $exec_args { 432 set opts($item) x 433 } 434 435 # If we need threads and we don't have them then set the `no-exec' 436 # flag. This is case is also handled specially later. 437 if {[info exists opts(need-threads)]} { 438 global libjava_uses_threads 439 if {! $libjava_uses_threads} { 440 set opts(no-exec) x 441 } 442 } 443 444 set errname [file rootname [file tail $srcfile]] 445 if {! [runtest_file_p $runtests $errname]} { 446 return 447 } 448 449 if {[info exists opts(no-link)]} { 450 set mode compile 451 } else { 452 set mode link 453 } 454 set args [libjava_arguments $mode] 455 if {! [info exists opts(no-link)]} { 456 # Add the --main flag 457 lappend args "additional_flags=--main=[file rootname [file tail $srcfile]]" 458 if { $compile_args != "" } { 459 lappend args "additional_flags=$compile_args" 460 } 461 } 462 463 regsub "^.*/(\[^/.\]+)\[.\]\[^/]*$" "$srcfile" "\\1" out 464 set executable "${objdir}/$out" 465 if {[info exists opts(no-link)]} { 466 append executable ".o" 467 set target object 468 } else { 469 set target executable 470 } 471 if { $compile_args != "" } { 472 set errname "$errname $compile_args" 473 } 474 475 set removeList [list $executable] 476 477 set x [prune_warnings \ 478 [libjava_tcompile $srcfile "$executable" $target $args]] 479 if {[info exists opts(xfail-gcj)]} { 480 setup_xfail *-*-* 481 } 482 if { $x != "" } { 483 verbose "target_compile failed: $x" 2 484 485 if {[info exists opts(shouldfail)]} { 486 pass "$errname compilation from source" 487 eval gcj_cleanup $removeList 488 return 489 } 490 491 fail "$errname compilation from source" 492 if {[info exists opts(xfail-gcj)] 493 || ! [info exists opts(no-exec)] 494 || [info exists opts(need-threads)]} { 495 untested "$errname execution from source compiled test" 496 untested "$errname output from source compiled test" 497 } 498 return 499 } 500 if {[info exists opts(shouldfail)]} { 501 fail "$errname compilation from source" 502 return 503 } 504 pass "$errname compilation from source" 460 # Invoke a program and check its output. EXECUTABLE is the program; 461 # ARGS are the arguments to the program. Returns 1 if tests passed 462 # (or things were left untested), 0 otherwise. 463 proc libjava_invoke {errname testName optName executable inpfile resultfile args} { 464 upvar $optName opts 505 465 506 466 if {[info exists opts(no-exec)]} { … … 509 469 # because threads aren't supported. So we have to 510 470 # generate an `untested'. 511 untested "$errname execution from source compiled test" 512 untested "$errname output from source compiled test" 513 } 514 eval gcj_cleanup $removeList 515 return 516 } 517 if {[info exists opts(no-link)]} { 518 eval gcj_cleanup $removeList 519 return 520 } 521 522 set result [libjava_load $executable "" "$inpfile"]; 523 set status [lindex $result 0]; 524 set output [lindex $result 1]; 471 untested "$errname execution - $testName" 472 untested "$errname output - $testName" 473 } 474 return 1 475 } 476 477 set result [libjava_load $executable $args "$inpfile"] 478 set status [lindex $result 0] 479 set output [lindex $result 1] 525 480 if {[info exists opts(xfail-exec)]} then { 526 481 setup_xfail *-*-* 527 482 } 528 $status "$errname execution from source compiled test"483 $status "$errname execution - $testName" 529 484 if { $status != "pass" } { 530 untested "$errname output from source compiled test"531 return ;485 untested "$errname output - $testName" 486 return 0 532 487 } 533 488 534 489 verbose "resultfile is $resultfile" 535 set id [open $resultfile r] ;490 set id [open $resultfile r] 536 491 set expected "" 537 append expected [read $id] ;538 regsub -all "\r" "$output" "" output ;492 append expected [read $id] 493 regsub -all "\r" "$output" "" output 539 494 regsub "\n*$" $expected "" expected 540 495 regsub "\n*$" $output "" output … … 547 502 verbose "expected is $expected" 548 503 verbose "actual is $output" 549 set passed 0 ;550 if { $options == "regexp_match"} {504 set passed 0 505 if {[info exists opts(regexp_match)]} { 551 506 if [regexp $expected $output] { 552 set passed 1 ;507 set passed 1 553 508 } 554 509 } else { 555 510 if { $expected == $output } { 556 set passed 1 ;511 set passed 1 557 512 } 558 513 } … … 560 515 setup_xfail *-*-* 561 516 } 517 if { $passed == 1 } { 518 pass "$errname output - $testName" 519 } else { 520 fail "$errname output - $testName" 521 } 522 close $id 523 524 return $passed 525 } 526 527 # 528 # Run the test specified by srcfile and resultfile. compile_args and 529 # exec_args are options telling this proc how to work. 530 # 531 proc test_libjava_from_source { options srcfile compile_args inpfile resultfile exec_args } { 532 global base_dir 533 global LIBJAVA 534 global LIBGC 535 global srcdir subdir objdir 536 global TOOL_OPTIONS 537 global GCJ_UNDER_TEST 538 global tmpdir 539 global runtests 540 541 # Make opts into an array. 542 set opts(_) x 543 unset opts(_) 544 foreach item $exec_args { 545 set opts($item) x 546 } 547 548 # If we need threads and we don't have them then set the `no-exec' 549 # flag. This is case is also handled specially later. 550 if {[info exists opts(need-threads)]} { 551 global libjava_uses_threads 552 if {! $libjava_uses_threads} { 553 set opts(no-exec) x 554 } 555 } 556 557 set errname [file rootname [file tail $srcfile]] 558 if {! [runtest_file_p $runtests $errname]} { 559 return 560 } 561 562 if {[info exists opts(no-link)]} { 563 set mode compile 564 } else { 565 set mode link 566 } 567 set args [libjava_arguments $mode] 568 if {! [info exists opts(no-link)]} { 569 # Add the --main flag 570 lappend args "additional_flags=--main=[file rootname [file tail $srcfile]]" 571 if { $compile_args != "" } { 572 lappend args "additional_flags=$compile_args" 573 } 574 } 575 576 regsub "^.*/(\[^/.\]+)\[.\]\[^/]*$" "$srcfile" "\\1" out 577 set executable "${objdir}/$out" 578 if {[info exists opts(no-link)]} { 579 append executable ".o" 580 set target object 581 } else { 582 # DOS/win32 targets default to .exe if no suffix is given 583 # We then try to delete a file that doesn't exist. It is 584 # simpler to add the suffix everywhere. 585 append executable ".exe" 586 set target executable 587 } 588 if { $compile_args != "" } { 589 set errname "$errname $compile_args" 590 } 591 592 set removeList [list $executable] 593 594 set x [libjava_prune_warnings \ 595 [libjava_tcompile $srcfile "$executable" $target $args]] 596 if {[info exists opts(xfail-gcj)]} { 597 setup_xfail *-*-* 598 } 599 if { $x != "" } { 600 verbose "target_compile failed: $x" 2 601 602 if {[info exists opts(shouldfail)]} { 603 pass "$errname compilation from source" 604 eval gcj_cleanup $removeList 605 return 606 } 607 608 fail "$errname compilation from source" 609 if {[info exists opts(xfail-gcj)] 610 || ! [info exists opts(no-exec)] 611 || [info exists opts(need-threads)]} { 612 untested "$errname execution from source compiled test" 613 untested "$errname output from source compiled test" 614 } 615 return 616 } 617 if {[info exists opts(shouldfail)]} { 618 fail "$errname compilation from source" 619 return 620 } 621 pass "$errname compilation from source" 622 623 # Set up the options the way they are expected by libjava_invoke. 562 624 if {[info exists opts(xfail-source-output)]} { 563 setup_xfail *-*-* 564 } 565 if { $passed == 1 } { 566 pass "$errname output from source compiled test" 625 set opts(xfail-output) x 626 } 627 if {[libjava_invoke $errname "source compiled test" opts $executable \ 628 $inpfile $resultfile]} { 629 # Everything ok, so clean up. 567 630 eval gcj_cleanup $removeList 568 } else { 569 fail "$errname output from source compiled test" 570 } 571 close $id; 631 } 572 632 } 573 633 … … 585 645 global tmpdir 586 646 global runtests 647 global INTERPRETER 587 648 588 649 # Make opts into an array. … … 645 706 verbose "jvscan is $jvscan" 646 707 set main_name [string trim \ 647 [ prune_warnings \708 [libjava_prune_warnings \ 648 709 [lindex [local_exec "$jvscan --encoding=UTF-8 $srcfile --print-main" "" "" 300] 1]]] 649 710 verbose "main name is $main_name" 650 711 set class_out [string trim \ 651 [ prune_warnings \712 [libjava_prune_warnings \ 652 713 [lindex [local_exec "$jvscan --encoding=UTF-8 $srcfile --list-class" "" "" 300] 1]]] 653 714 verbose "class list is $class_out" … … 691 752 set type executable 692 753 lappend largs "additional_flags=--main=$main_name" 693 set executable "${objdir}/$main_name" 754 # DOS/win32 targets default to .exe if no suffix is given 755 # We then try to delete a file that doesn't exist. It is 756 # simpler to add the suffix everywhere. 757 set executable "${objdir}/${main_name}.exe" 694 758 set mode link 759 } 760 761 # We purposely ignore errors here; we still want to run the other 762 # appropriate tests. 763 set gij [libjava_find_gij] 764 # libjava_find_gij will return `gij' if it couldn't find the 765 # program; in this case we want to skip the test. 766 if {$INTERPRETER == "yes" && $gij != "gij"} { 767 libjava_invoke $errname "gij test" opts $gij \ 768 $inpfile $resultfile $main_name 695 769 } 696 770 … … 714 788 foreach c_file $class_files { 715 789 set executable [file rootname [file tail $c_file]].o 716 set x [prune_warnings \ 717 [libjava_tcompile $c_file "$executable" $type $args]] 790 # Don't write files which contain $ chars. 791 regsub -all "\\$" $executable "\^" executable 792 set x [libjava_prune_warnings \ 793 [libjava_tcompile '$c_file' "$executable" $type $args]] 718 794 lappend removeList $executable 719 795 if {$x != ""} { … … 730 806 } 731 807 lappend removeList $executable 732 set x [ prune_warnings \808 set x [libjava_prune_warnings \ 733 809 [libjava_tcompile $hack "$executable" $type $args]] 734 810 } … … 748 824 pass "$errname compilation from bytecode" 749 825 750 if {[info exists opts(no-exec)]} { 751 if {[info exists opts(need-threads)]} { 752 untested "$errname execution from bytecode->native test" 753 untested "$errname output from bytecode->native test" 754 } 826 # Set up the options the way they are expected by libjava_invoke. 827 if {[info exists opts(xfail-byte-output)]} { 828 set opts(xfail-output) x 829 } 830 if {[libjava_invoke $errname "bytecode->native test" opts $executable \ 831 $inpfile $resultfile]} { 832 # Everything ok, so clean up. 755 833 eval gcj_cleanup $removeList 756 return 757 } 758 759 set result [libjava_load $executable "" "$inpfile"]; 760 set status [lindex $result 0]; 761 set output [lindex $result 1]; 762 if {[info exists opts(xfail-exec)]} { 763 setup_xfail *-*-* 764 } 765 $status "$errname execution from bytecode->native test" 766 if { $status != "pass" } { 767 untested "$errname output from bytecode->native test" 768 return 769 } 770 771 verbose "resultfile is $resultfile" 772 set id [open $resultfile r]; 773 set expected "" 774 append expected [read $id]; 775 regsub -all "\r" "$output" "" output; 776 regsub "\n*$" $expected "" expected 777 regsub "\n*$" $output "" output 778 regsub "^\n*" $expected "" expected 779 regsub "^\n*" $output "" output 780 regsub -all "\[ \t\]\[ \t\]*" $expected " " expected 781 regsub -all "\[ \t\]*\n\n*" $expected "\n" expected 782 regsub -all "\[ \t\]\[ \t\]*" $output " " output 783 regsub -all "\[ \t\]*\n\n*" $output "\n" output 784 verbose "expected is $expected" 785 verbose "actual is $output" 786 set passed 0; 787 if {[info exists opts(xfail-output)]} { 788 setup_xfail *-*-* 789 } 790 if {[info exists opts(xfail-byte-output)]} { 791 setup_xfail *-*-* 792 } 793 if {$options == "regexp_match"} { 794 if [regexp $expected $output] { 795 set passed 1; 796 } 797 } else { 798 if { $expected == $output } { 799 set passed 1; 800 } 801 } 802 if { $passed == 1 } { 803 pass "$errname output from bytecode->native test" 804 eval gcj_cleanup $removeList 805 } else { 806 fail "$errname output from bytecode->native test" 807 } 808 close $id; 834 } 809 835 } 810 836 … … 819 845 # `shouldfail' compilation from source is supposed to fail 820 846 # This is different from xfail, which marks a known 821 # failure that we just hav ne't fixed.847 # failure that we just haven't fixed. 822 848 # A compilation marked this way should fail with any 823 849 # front end. -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.compile/compile.exp
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 global srcdir subdir 2 2 3 catch "glob -nocomplain ${srcdir}/${subdir}/*.java"srcfiles3 catch { lsort [glob -nocomplain ${srcdir}/${subdir}/*.java] } srcfiles 4 4 verbose "srcfiles are $srcfiles" 5 5 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/calls.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 2 2 #include <calls.h> 3 3 4 jint 4 JNIEXPORT jint JNICALL 5 5 Java_calls_docall (JNIEnv *env, jobject _this) 6 6 { … … 48 48 ++fails; 49 49 50 method = (*env)->GetStaticMethodID (env, klass, "longpb_f", "(BJBJBJ)J"); 51 l = (*env)->CallStaticLongMethod (env, klass, method, (jbyte) 13, (jlong) 3, 52 (jbyte) 13, (jlong) 3, (jbyte) 13, (jlong) 4); 53 if (l != 3033) 54 ++fails; 55 50 56 method = (*env)->GetMethodID (env, klass, "void_f", "()V"); 51 57 (*env)->CallVoidMethod (env, _this, method); -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/calls.java
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 38 38 } 39 39 40 public static long longpb_f (byte b1, long q1, byte b2, long q2, 41 byte b3, long q3) 42 { 43 return q1 + q2 + q3 + 3023; 44 } 45 40 46 public void void_f () 41 47 { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/field.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 2 2 #include <field.h> 3 3 4 jobjectArray 4 JNIEXPORT jobjectArray JNICALL 5 5 Java_field_fetch (JNIEnv *env, jobject this) 6 6 { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/final_method.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 #include <final_method.h> 2 2 3 jstring 3 JNIEXPORT jstring JNICALL 4 4 Java_final_1method_meth (JNIEnv *env, jobject thisv) 5 5 { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/findclass.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 3 3 #include <findclass.h> 4 4 5 jclass 5 JNIEXPORT jclass JNICALL 6 6 Java_findclass_doit (JNIEnv *env, jclass klass, jstring name) 7 7 { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/invoke.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 #include <invoke.h> 2 2 3 jint 3 JNIEXPORT jint JNICALL 4 4 Java_invoke_val (JNIEnv *env, jclass klass) 5 5 { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/jni.exp
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 16 16 lappend options "additional_flags=-I$srcdir/../include" 17 17 18 set x [prune_warnings [target_compile $file $soname executable $options]] 18 set x [libjava_prune_warnings \ 19 [target_compile $file $soname executable $options]] 19 20 if {$x != ""} { 20 21 verbose "target_compile failed: $x" 2 … … 31 32 set gcjh [find_gcjh] 32 33 set file [file rootname $file] 33 set x [string trim [ prune_warnings \34 set x [string trim [libjava_prune_warnings \ 34 35 [lindex [local_exec "$gcjh -jni $file" "" "" 300] 1]]] 35 36 if {$x != ""} { … … 168 169 # For now we only test JNI on native builds. 169 170 if {$build_triplet == $host_triplet} { 170 catch "glob -nocomplain ${srcdir}/${subdir}/*.java"srcfiles171 catch { lsort [glob -nocomplain ${srcdir}/${subdir}/*.java] } srcfiles 171 172 172 173 foreach x $srcfiles { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/martin.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 3 3 #include <stdio.h> 4 4 5 void Java_martin_myNative(JNIEnv* env, jobject this, jstring s) 5 JNIEXPORT void JNICALL 6 Java_martin_myNative(JNIEnv* env, jobject this, jstring s) 6 7 { 7 8 jclass cls; -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/noclass.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 #include <noclass.h> 2 2 3 void 3 JNIEXPORT void JNICALL 4 4 Java_noclass_find_1it (JNIEnv *env, jclass k) 5 5 { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/overload.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 #include <overload.h> 2 2 3 jint 3 JNIEXPORT jint JNICALL 4 4 Java_overload_over__I (JNIEnv *env, jclass klass, jint val) 5 5 { … … 8 8 9 9 10 jint 10 JNIEXPORT jint JNICALL 11 11 Java_overload_over__II (JNIEnv *env, jclass klass, jint one, jint two) 12 12 { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/register.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 9 9 } 10 10 11 jint 11 JNIEXPORT jint JNICALL 12 12 JNI_OnLoad (JavaVM *vm, void *nothing) 13 13 { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/simple_int.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 #include <simple_int.h> 2 2 3 jint 3 JNIEXPORT jint JNICALL 4 4 Java_simple_1int_nat (JNIEnv *env, jclass klass, jint val) 5 5 { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/throwit.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 2 2 #include <throwit.h> 3 3 4 void 4 JNIEXPORT void JNICALL 5 5 Java_throwit_throwit (JNIEnv *env, jclass klass, jstring name, 6 6 jboolean is_new) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.jni/virtual.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 #include <virtual.h> 2 2 3 jboolean 3 JNIEXPORT jboolean JNICALL 4 4 Java_virtual_equals (JNIEnv *env, jobject thisv, jobject other) 5 5 { -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.lang/Array_3.java
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 11 11 { 12 12 return null; 13 } 14 15 static int baz () 16 { 17 int[] x = (int[])null; 18 int nn = x.length; 19 return 5; 13 20 } 14 21 … … 28 35 } 29 36 if (!ok) 30 throw new RuntimeException("test failed ");37 throw new RuntimeException("test failed:1"); 31 38 32 39 ok = false; … … 41 48 } 42 49 if (!ok) 43 throw new RuntimeException("test failed ");50 throw new RuntimeException("test failed:2"); 44 51 45 52 ok = false; … … 55 62 56 63 if (!ok || nn != 0) 57 throw new RuntimeException("test failed"); 64 throw new RuntimeException("test failed:3"); 65 66 ok = false; 67 try 68 { 69 int[] x = (int[])null; 70 nn = x.length; 71 } 72 catch (NullPointerException _) 73 { 74 ok = true; 75 } 76 if (!ok) 77 throw new RuntimeException("test failed:4"); 78 79 ok = false; 80 try 81 { 82 nn = baz (); 83 } 84 catch (NullPointerException _) 85 { 86 ok = true; 87 } 88 if (!ok) 89 throw new RuntimeException("test failed:5"); 58 90 } 59 91 } -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.lang/Throw_2.java
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 35 35 catch (NullPointerException _) 36 36 { 37 System.out.println ("1"); 37 38 } 38 39 catch (Throwable _) … … 49 50 catch (NullPointerException _) 50 51 { 52 System.out.println ("2"); 51 53 } 52 54 catch (Throwable _) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.lang/Throw_2.out
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 2 2 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.lang/lang.exp
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 global srcdir subdir 2 2 3 catch "glob -nocomplain ${srcdir}/${subdir}/*.out"srcfiles3 catch { lsort [glob -nocomplain ${srcdir}/${subdir}/*.out] } srcfiles 4 4 verbose "srcfiles are $srcfiles" 5 5 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.mauve/mauve.exp
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 # Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation.1 # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation. 2 2 # Written by Tom Tromey <tromey@cygnus.com>. 3 3 # Incorporate Mauve into libjava's DejaGNU test suite framework. … … 47 47 set file [file rootname $file].o 48 48 lappend uses($item) $file 49 # Now add all inner classes 50 foreach inner [glob -nocomplain [file rootname $file]$*.class] { 51 # Prevent excessive escaping by replacing $ with a ^ in the .o name 52 set inner [file rootname $inner].o 53 regsub -all "\\$" $inner "\^" inner 54 lappend uses($item) $inner 55 } 49 56 } 50 57 } 51 58 52 59 return [lsort [array names uses]] 60 } 61 62 # Find Mauve sources. At end, env(MAUVEDIR) points to sources. 63 # Returns 0 if sources not found, 1 otherwise. 64 proc find_mauve_sources {} { 65 global env srcdir 66 67 if {[info exists env(MAUVEDIR)]} { 68 return 1 69 } elseif {[file isdirectory $srcdir/libjava.mauve/mauve]} { 70 set env(MAUVEDIR) $srcdir/libjava.mauve/mauve 71 return 1 72 } 73 74 return 0 53 75 } 54 76 … … 58 80 global srcdir objdir subdir env 59 81 60 if {! [ info exists env(MAUVEDIR)]} then {82 if {! [find_mauve_sources]} then { 61 83 verbose "MAUVEDIR not set; not running Mauve tests" 62 84 return 1 … … 72 94 cd $here/mauve-build 73 95 74 global env75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 # Append -B and -I so that libgcj.spec and libgcj.zipare found91 92 set env(GCJ) "$GCJ_UNDER_TEST -B$objdir/../ -I$objdir/../libgcj.jar"96 global env libgcj_jar 97 global GCJ_UNDER_TEST 98 global TOOL_EXECUTABLE 99 100 if ![info exists GCJ_UNDER_TEST] { 101 if [info exists TOOL_EXECUTABLE] { 102 set GCJ_UNDER_TEST $TOOL_EXECUTABLE; 103 } else { 104 if [info exists env(GCJ)] { 105 set GCJ_UNDER_TEST env(GCJ) 106 } else { 107 set GCJ_UNDER_TEST "[find_gcj]" 108 } 109 } 110 } 111 112 # Append -B and -I so that libgcj.spec and libgcj.jar are found 113 # before they're installed. 114 set env(GCJ) "$GCJ_UNDER_TEST -B$objdir/../ -I$libgcj_jar" 93 115 94 116 if {[catch { … … 140 162 set file $base.class 141 163 set obj $base.o 142 set x [ prune_warnings \164 set x [libjava_prune_warnings \ 143 165 [target_compile [pwd]/$file $obj object $compile_args]] 144 166 if {$x != ""} then { … … 165 187 if {! [file exists $obj]} then { 166 188 verbose "compiling $obj for test of $class" 189 # The .class file does contain a $, but we can quote it between "'"s. 167 190 set srcfile [file rootname $obj].class 168 set x [prune_warnings \ 169 [target_compile [pwd]/$srcfile $obj object $compile_args]] 191 regsub -all "\\^" $srcfile "\$" srcfile 192 set x [libjava_prune_warnings \ 193 [libjava_tcompile '[pwd]/$srcfile' $obj object $compile_args]] 170 194 if {$x != ""} then { 171 195 fail "Compile $obj for $class" … … 181 205 } 182 206 183 set x [prune_warnings [target_compile [concat $uses($file) $objlist] \ 184 $Executable executable $link_args]] 207 set x [libjava_prune_warnings \ 208 [libjava_tcompile [concat $uses($file) $objlist] \ 209 $Executable executable $link_args]] 185 210 if {$x != ""} then { 186 211 set proc_ok 0 … … 221 246 global srcdir subdir env 222 247 223 if {! [ info exists env(MAUVEDIR)]} then {248 if {! [find_mauve_sources]} then { 224 249 verbose "MAUVEDIR not set; not running Mauve tests" 225 250 return 1 … … 278 303 set file $base.class 279 304 set obj $base.o 280 set x [ prune_warnings \305 set x [libjava_prune_warnings \ 281 306 [target_compile [pwd]/$file $obj object $compile_args]] 282 307 if {$x != ""} then { … … 307 332 verbose "compiling $obj for test of $class" 308 333 set srcfile [file rootname $obj].class 309 set x [ prune_warnings \334 set x [libjava_prune_warnings \ 310 335 [target_compile [pwd]/$srcfile $obj object $compile_args]] 311 336 if {$x != ""} then { … … 343 368 } 344 369 345 set x [ prune_warnings \370 set x [libjava_prune_warnings \ 346 371 [target_compile gnu/testlet/DejaGNUTestHarness.class \ 347 372 gnu/testlet/DejaGNUTestHarness.o object $compile_args]] … … 352 377 } 353 378 354 set x [prune_warnings [target_compile [concat $uses($file) $objlist] \ 355 $Executable executable $link_args]] 379 set x [libjava_prune_warnings \ 380 [target_compile [concat $uses($file) $objlist] \ 381 $Executable executable $link_args]] 356 382 if {$x != ""} then { 357 383 set proc_ok 0 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/libjava/testsuite/libjava.mauve/xfails
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 1)2 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 2)3 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 4)4 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 9)5 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 10)6 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 12)7 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 13)8 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 14)9 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 15)10 1 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 16) 11 2 FAIL: gnu.testlet.java.beans.Introspector.jdk11: getBeanInfo (number 17) … … 35 26 FAIL: gnu.testlet.java.lang.Class.ClassTest: Error: test_getClassLoader failed - 1 (number 1) 36 27 FAIL: gnu.testlet.java.lang.Class.ClassTest: Error: test_getClassLoader failed - 2 (number 1) 28 FAIL: gnu.testlet.java.lang.Class.reflect2: getClasses (number 2) 29 FAIL: gnu.testlet.java.lang.Class.reflect2: getClasses (number 3) 30 FAIL: gnu.testlet.java.lang.Class.reflect2: getClasses (number 5) 31 FAIL: gnu.testlet.java.lang.Class.reflect2: getDeclaringClass (number 3) 32 FAIL: gnu.testlet.java.lang.Class.reflect2: getDeclaringClass (number 4) 33 FAIL: gnu.testlet.java.lang.Class.reflect2: getDeclaringClass (number 5) 34 FAIL: gnu.testlet.java.lang.Class.reflect2: getDeclaredClasses (number 1) 35 FAIL: gnu.testlet.java.lang.Class.reflect2: getDeclaredClasses (number 2) 36 FAIL: gnu.testlet.java.lang.Class.reflect2: getDeclaredClasses (number 3) 37 37 FAIL: gnu.testlet.java.lang.Double.DoubleTest: Error: test_intValue returned wrong results CYGNUS: Float to int conversions - 1 (number 1) 38 FAIL: gnu.testlet.java.lang.Double.DoubleTest: Error: test_longValue returned wrong results CYGNUS: Float to int conversions - 1 (number 1)39 38 FAIL: gnu.testlet.java.lang.Float.FloatTest: Error: test_intValue returned wrong results - 1 (number 1) 40 FAIL: gnu.testlet.java.lang.String.CASE_INSENSITIVE_ORDER: unicode mappings (number 1) 41 FAIL: gnu.testlet.java.lang.String.CASE_INSENSITIVE_ORDER: unicode mappings (number 2) 42 FAIL: gnu.testlet.java.lang.System.getProperty: '' (number 1) 39 FAIL: gnu.testlet.java.lang.String.getBytes13: String.getBytes("UTF-16") (number 1) 40 FAIL: gnu.testlet.java.lang.String.getBytes13: String.getBytes("UnicodeBig") (number 1) 41 FAIL: gnu.testlet.java.lang.String.getBytes13: String.getBytes("UnicodeBigUnmarked") (number 1) 42 FAIL: gnu.testlet.java.lang.String.getBytes13: String.getBytes("UnicodeLittle") (number 1) 43 FAIL: gnu.testlet.java.lang.String.getBytes13: String.getBytes("UnicodeLittleUnmarked") (number 1) 44 FAIL: gnu.testlet.java.lang.String.getBytes14: String.getBytes("ISO8859_15") (number 1) 45 FAIL: gnu.testlet.java.lang.String.getBytes14: String.getBytes("UTF-16BE") (number 1) 46 FAIL: gnu.testlet.java.lang.String.getBytes14: String.getBytes("UTF-16LE") (number 1) 43 47 FAIL: gnu.testlet.java.text.AttributedString.Test: Attribute key count (number 1) 44 48 FAIL: gnu.testlet.java.text.DateFormatSymbols.Test: patterns (number 2) … … 51 55 FAIL: gnu.testlet.java.text.SimpleDateFormat.regress: PDT (number 1) 52 56 FAIL: gnu.testlet.java.text.DateFormatSymbols.Test: invalid locale (number 1) 57 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: CollationElementIterator (number 1) 58 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 0 (number 1) 59 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 1 (number 1) 60 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 10 (number 1) 61 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 11 (number 1) 62 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 12 (number 1) 63 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 13 (number 1) 64 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 2 (number 1) 65 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 3 (number 1) 66 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 4 (number 1) 67 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 5 (number 1) 68 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 6 (number 1) 69 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 7 (number 1) 70 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 8 (number 1) 71 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: next() 9 (number 1) 72 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 0 (number 1) 73 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 1 (number 1) 74 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 10 (number 1) 75 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 11 (number 1) 76 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 12 (number 1) 77 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 13 (number 1) 78 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 2 (number 1) 79 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 3 (number 1) 80 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 4 (number 1) 81 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 5 (number 1) 82 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 6 (number 1) 83 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 7 (number 1) 84 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: primaryOrder() 8 (number 1) 85 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: secondaryOrder() 12 (number 1) 86 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: secondaryOrder() 4 (number 1) 87 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: secondaryOrder() 5 (number 1) 88 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: secondaryOrder() 7 (number 1) 89 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: secondaryOrder() 9 (number 1) 90 FAIL: gnu.testlet.java.text.CollationElementIterator.jdk11: tertiaryOrder() 10 (number 1) 53 91 FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error : test_params failed - 5getInetAddress did not return proper values (number 1) 54 92 FAIL: gnu.testlet.java.net.Socket.SocketTest: Error : test_BasicServer failed - 11 exception was thrown :Illegal seek (number 1) … … 63 101 FAIL: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file) (number 54) 64 102 FAIL: gnu.testlet.java.net.MulticastSocket.MulticastSocketTest: joinGroup() twice. (number 1) 65 FAIL: gnu.testlet.java.util.Properties.AcuniaPropertiesTest: should throw NullPointerException -- 1 (number 1) 66 FAIL: gnu.testlet.java.util.Properties.AcuniaPropertiesTest: v does not contain:$longvalue=I'mtryingtogiveavaluelongerthen40characters$ (number 1) 67 FAIL: gnu.testlet.java.util.Properties.AcuniaPropertiesTest: should throw NullPointerException -- 1 (number 1) 68 FAIL: gnu.testlet.java.util.Properties.AcuniaPropertiesTest: all elements are the same (number 1) 69 FAIL: gnu.testlet.java.util.Properties.AcuniaPropertiesTest: checkvalue -- got:$ents=$ (number 1) 70 FAIL: gnu.testlet.java.util.Properties.AcuniaPropertiesTest: checkvalue -- got:$dog=nocat $ (number 1) 71 FAIL: gnu.testlet.java.util.Properties.AcuniaPropertiesTest: check if all elements were found -- got: [dog=no\cat ] (number 1) 103 FAIL: gnu.testlet.java.io.File.jdk11: getCanonicalPath () (number 1) 104 FAIL: gnu.testlet.java.io.ObjectInputOutput.InputTest: gnu.testlet.java.io.ObjectInputOutput.Test$GetPutField (number 1) 105 FAIL: gnu.testlet.java.io.ObjectInputOutput.OutputTest: Serializable: gnu.testlet.java.io.ObjectInputOutput.Test$Extern () (number 2) 106 FAIL: gnu.testlet.java.io.ObjectInputOutput.OutputTest: Serializable: test(str=null, x=0) (number 2) 107 FAIL: gnu.testlet.java.io.OutputStreamWriter.jdk11: OutputStreamWriter(writer, encoding) (number 1) 108 FAIL: gnu.testlet.java.io.OutputStreamWriter.jdk11: OutputStreamWriter(writer, encoding) // alias (number 1) 109 FAIL: gnu.testlet.java.lang.Double.DoubleTest: Error: test_shortbyteValue failed - 5 (number 1) 110 FAIL: gnu.testlet.java.lang.Float.FloatTest: Error: test_shortbyteValue failed - 5 (number 1) 111 FAIL: gnu.testlet.java.net.DatagramSocket.DatagramSocketTest2: Expected IOException (number 1) 112 FAIL: gnu.testlet.java.net.Socket.SocketTest: Error : test_params failed - 1 get port did not return proper values (number 1) 113 FAIL: gnu.testlet.java.net.Socket.jdk13: unexpected error: Success (number 1) 114 FAIL: gnu.testlet.java.sql.Date.DateTest: getHours (number 1) 115 FAIL: gnu.testlet.java.sql.Date.DateTest: getMinutes (number 1) 116 FAIL: gnu.testlet.java.sql.Date.DateTest: getSeconds (number 1) 117 FAIL: gnu.testlet.java.sql.Date.DateTest: setHours (number 1) 118 FAIL: gnu.testlet.java.sql.Date.DateTest: setMinutes (number 1) 119 FAIL: gnu.testlet.java.sql.Date.DateTest: setSeconds (number 1) 120 FAIL: gnu.testlet.java.sql.Date.DateTest: valueOf (number 1) 121 FAIL: gnu.testlet.java.sql.DriverManager.DriverManagerTest: getDriver (number 1) 122 FAIL: gnu.testlet.java.sql.Time.TimeTest: getDate (number 1) 123 FAIL: gnu.testlet.java.sql.Time.TimeTest: getDay (number 1) 124 FAIL: gnu.testlet.java.sql.Time.TimeTest: getMonth (number 1) 125 FAIL: gnu.testlet.java.sql.Time.TimeTest: getYear (number 1) 126 FAIL: gnu.testlet.java.sql.Time.TimeTest: setDate (number 1) 127 FAIL: gnu.testlet.java.sql.Time.TimeTest: setMonth (number 1) 128 FAIL: gnu.testlet.java.sql.Time.TimeTest: setYear (number 1) 129 FAIL: gnu.testlet.java.sql.Time.TimeTest: valueOf (number 1) 130 FAIL: gnu.testlet.java.sql.Timestamp.TimestampTest: valueOf (number 1) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.