summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite/lib/libjava.exp
Commit message (Collapse)AuthorAgeFilesLines
* gcc/testsuite:ro2001-07-271-0/+14
| | | | | | | | | | | | | | | * lib/g++.exp (g++_set_ld_library_path): Renamed to ${tool}_set_ld_library_path. Changed caller. * lib/objc.exp (${tool}_set_ld_library_path): New, copied from g++.exp. libjava/testsuite: * lib/libjava.exp (${tool}_set_ld_library_path): New, copied from g++.exp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44420 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.jni/jni.exp: New file.tromey2001-06-141-0/+21
| | | | | | | * lib/libjava.exp (gcj_link): New proc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43375 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/2874:tromey2001-06-081-2/+31
| | | | | | | | | | | | * libjava.mauve/mauve.exp (gcj_run_mauve_tests): New proc. (test_mauve): Return 0 on failure. * lib/libjava.exp (test_libjava_from_source): Remove generated files if test is successful. (test_libjava_from_javac): Likewise. (gcj_cleanup): New proc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43050 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_arguments): Build with `-no-install'jsturm2001-06-061-0/+5
| | | | | | | when $mode == "link". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42928 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove libgcjdata hack. Fix jv-scan usage in dejagnu.green2001-06-021-7/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42812 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/Thread_Wait_Interrupt.xfail: New file.tromey2001-05-041-9/+54
| | | | | | | | | | | | | | | | | | * libjava.lang/Thread_Wait_2.xfail: New file. * libjava.lang/Thread_Wait.xfail: New file. * libjava.lang/Thread_Sleep.xfail: New file. * libjava.lang/Thread_Monitor.xfail: New file. * libjava.lang/Thread_Join.xfail: New file. * libjava.lang/Thread_Interrupt.xfail: New file. * libjava.lang/Thread_Alive.xfail: New file. * lib/libjava.exp (libjava_init): Set global libjava_uses_threads. (test_libjava): Document `need-threads' tag. (test_libjava_from_source): handle need-threads tag. (test_libjava_from_javac): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41840 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_init): Use UTF-8 encoding.tromey2001-04-271-2/+8
| | | | | | | (test_libjava_from_javac): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41617 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/lib/libjava.exp: Correct typo: 'output from sourcezack2001-04-021-25/+12
| | | | | | | | | compiled test', not 'execution from source compiled test'. Use UNTESTED, not XFAIL, for tests which are not run because they depend on a previous test which failed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41026 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_arguments): Rewrote computation oftromey2001-03-161-10/+21
| | | | | | | | LD_LIBRARY_PATH. Add gcc build directory if it contains libgcc_s.so. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40564 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (bytecompile_file): Don't unset CLASSPATH.rth2001-01-171-3/+2
| | | | | | | (libjava_arguments): Use .jar extension for libgcj. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39085 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (test_libjava_from_javac): Strange quoting tricktromey2000-12-161-8/+11
| | | | | | | | | | | | | | | | | for `.class' link case. (bytecompile_file): Change directory outside of `catch'. * libjava.lang/Thread_1.java: Removed. * libjava.lang/Thread_1.out: Likewise. * libjava.lang/N19990310_4.xfail: New file. * libjava.lang/stub.xfail: Added new failure modes. * libjava.lang/stringconst.xfail: New file. * libjava.lang/PR162.xfail: New file. * libjava.lang/Final.xfail: Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38311 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_tcompile): New proc.tromey2000-12-161-25/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | (test_libjava_from_source): Use it. (test_libjava_from_javac): Likewise. (find_javac): New proc. (bytecompile_file): Use it. (test_libjava_from_javac): Handle `xfail-gcjC' tag. If no-exec set, then don't link even if program has a `main'. * libjava.compile/static_3.xfail: New file. * libjava.compile/weirddecl.xfail: New file. * libjava.compile/static_2.xfail: New file. * libjava.compile/not_a_redef.xfail: New file. * libjava.compile/inner_1.xfail: New file. * libjava.compile/assignment_2.xfail: New file. * libjava.compile/assignment.xfail: New file. * libjava.compile/abstr.xfail: New file. * libjava.compile/PR375.xfail: New file. * libjava.compile/PR374.java: New file. * libjava.compile/PR238.xfail: New file. * libjava.compile/PR208.xfail: New file. * libjava.compile/PR207.xfail: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38296 138bc75d-0d04-0410-961f-82ee72b054a4
* Fri Nov 24 11:25:20 2000 Anthony Green <green@redhat.com>green2000-11-241-3/+4
| | | | | | | | | | | * lib/libjava.exp (bytecompile_file): Change default from javac to gcj -C. (libjava_arguments): Fix classpath. * libjava.compile/PR129_B.no-link: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37719 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_arguments): Set --tag on libtooltromey2000-11-061-1/+1
| | | | | | | invocation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37268 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (bytecompile_file): Use exec, not system.tromey2000-05-181-2/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33989 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp (test_mauve): Call `prune_warnings'.tromey2000-05-171-41/+31
| | | | | | | | | | | | | | | | | | (test_mauve_sim): Likewise. (test_mauve): Redirect stderr in system call. (test_mauve_sim): Likewise. * lib/libjava.exp (test_libjava_from_source): Call `prune_warnings'. (test_libjava_from_javac): Likewise. (bytecompile_file): Redirect stderr in system call. * lib/libjava.exp (libjava_find_program): New proc. (find_jvscan): Use it. (find_gcjh): New proc. * libjava.compile/compile.exp: Use "", not $options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33959 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (test_libjava_from_javac): Removed hack fortromey2000-03-071-13/+20
| | | | | | | interfaces. Fail if jv-scan reports a parse error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32392 138bc75d-0d04-0410-961f-82ee72b054a4
* * All files: Updated copyright information.tromey2000-03-071-1/+1
| | | | | | | | | * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32387 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (test_libjava): Document `shouldfail' token.tromey2000-03-061-3/+36
| | | | | | | | | | | | (test_libjava_from_source): Handle `shouldfail' case. (test_libjava_from_javac): Likewise. Test for PR libgcj/124: * libjava.compile/PR124.java: New file. * libjava.compile/PR124.xfail: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32353 138bc75d-0d04-0410-961f-82ee72b054a4
* * All files: Updated copyright to reflect Cygnus purchase.tromey2000-01-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31504 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>tromey1999-07-311-8/+45
| | | | | | | | | | | | | | | | | * lib/libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac, as Sun-javac compiler or compatible. (libjava_init): Get GCJ from environment if neither GCJ_UNDER_TEST nor TOOL_EXECUTABLE are set. Set `original_ld_library_path' from environment. (libjava_arguments): Prepend `.' and `$srcdir/$subdir' to CLASSPATH, for `support' sources. Search for libgcj.spec in `$objdir/..', by adding -B to GCJ_UNDER_TEST. Append original_ld_library_path to ld_library_path. * libjava.mauve/mauve.exp (test_mauve): Set `env(GCJ)' from GCJ_UNDER_TEST, calculated just like in libjava.exp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28364 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/G19990217_02.no-link: New file.tromey1999-07-151-10/+45
| | | | | | | | | | | * libjava.compile/test.exp: Look for `.no-link' file. * lib/libjava.exp (test_libjava_from_source): Added `no-link' option. (test_libjava_from_javac): Likewise. Also, handle package information from class name when creating class file name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28113 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/Final.xfail: New file.tromey1999-07-061-15/+86
| | | | | | | | | | | | | | | | * libjava.compile/Case.xfail: New file. * libjava.compile/Where.xfail: New file. * libjava.compile/test.exp: Look for `.xfail' files. * libjava.lang/test.exp: Don't look for `.arg' files. Do look for `.xfail' files. * lib/libjava.exp (test_libjava_from_source): Changed meaning of `exec_args' argument. Handle `xfail-*' arguments. (test_libjava_from_javac): Likewise. (test_libjava): Likewise. (libjava_read_xfail): New proc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27957 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (test_libjava_from_javac): Fixed typo. Alwaystromey1999-06-251-2/+3
| | | | | | | make class_files a list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27772 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (test_libjava_from_javac): Prepend `$objdir/' totromey1999-06-251-2/+5
| | | | | | | class file names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27771 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_arguments): If `libtool' not found intromey1999-06-241-0/+5
| | | | | | | build tree, just use $GCJ_UNDER_TEST as compiler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27728 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_arguments): Handle -lzgcj.tromey1999-06-231-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27721 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_arguments): Don't use -nodefaultlibs.tromey1999-05-051-7/+9
| | | | | | | (libjava_find_lib): Add `-L' option to find the actual library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26782 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp (test_mauve): Pass `link' totromey1999-05-031-21/+48
| | | | | | | | | | | | | | | | libjava_arguments when linking. (test_mauve_sim): Likewise. * lib/libjava.exp (libjava_arguments): Run `libtool' to link. Don't use `-static'. Added `mode' argument. Use -nodefaultlibs when linking. (test_libjava_from_source): Mention why target_compile failed. Pass `link' to libjava_arguments when linking. Only do `xfails' for tests we would actually have run. (test_libjava_from_javac): Likewise. (libjava_find_lib): Return name of `.la' file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26748 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_find_lib): New proc.tromey1999-04-261-31/+24
| | | | | | | (libjava_arguments): Use it. Force static linking. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26651 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisiontromey1999-04-071-0/+450
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26263 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud