Changeset 14611


Ignore:
Timestamp:
01/25/14 17:16:49 (7 years ago)
Author:
Mark Evenson
Message:

Broaden Java-side test coverage to compile everything under `test/src'.

Tests are still explicitly chosen via the nested <arg> to the
'abcl.test.java/java@' element at build.xml:940 ff.

The test in org.armedbear.lisp.util.HttpHeadTest? currently hangs (!)
the executing VM, a high priority item for abcl-1.3.0. The problem
lies in a hanging read in the JVM system classes that previously
didn't exist when accessing the ZipCache?.get(url) API for the second
time.

Users are advised to call SYSTEM:DISABLE-ZIP-CACHE until this behavior
is fixed.

Location:
trunk/abcl
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/build.xml

    r14606 r14611  
    861861    --  Run all available tests.
    862862  abcl.test.java
    863     --  Run the ABCL junit Java tests under ${basedir}/test/src
     863    --  Run the ABCL junit Java tests under ${basedir}/test/src/
    864864  abcl.test.lisp
    865865    --  Run the 'test.ansi.compiled', 'test.abcl', 'test.cl-bench' targets
     
    867867    --  Run the compiled version of the ANSI test suite
    868868  test.abcl
    869     --  Run the Lisp RT tests collected in ${basedir}/test/lisp/abcl
     869    --  Run the Lisp RT tests collected in ${basedir}/test/lisp/abcl/
    870870  test.cl-bench
    871871    --  Run the cl-bench test suite.
     
    890890
    891891    <patternset id="abcl.test.source.java">
    892       <!-- For now, we list tests explicitly, because we have to
    893            enumerate them later to the JUnit test runner. -->
    894       <include name="org/armedbear/lisp/*.java"/>
     892      <include name="org/armedbear/lisp/**/*.java"/>
    895893    </patternset>
    896894
     
    947945        <arg value="org.armedbear.lisp.StreamTest"/>
    948946        <arg value="org.armedbear.lisp.UtilitiesTest"/>
     947    <!-- currently hangs(!) the running process
     948        <arg value="org.armedbear.lisp.util.HttpHeadTest"/>
     949    -->
    949950      </java>
    950951    </target>
  • trunk/abcl/test/lisp/abcl/jar-pathname.lisp

    r14603 r14611  
    203203
    204204(defparameter *url-jar-pathname-base*
    205   "jar:http://abcl-dynamic-install.googlecode.com/files/baz-20130403a.jar!/")
     205  "jar:http://abcl.org/fasl/42/baz-20140105a-fasl-42.jar!/")
     206;; fasl 41  "jar:http://abcl-dynamic-install.googlecode.com/files/baz-20130403a.jar!/")
    206207
    207208(defmacro load-url-relative (path)
    208   `(load (format nil "~A~A" *url-jar-pathname-base* ,path)))
     209  `(load (probe-file (format nil "~A~A" *url-jar-pathname-base* ,path))))
    209210
    210211;;; wrapped in PROGN for easy disabling without a network connection
Note: See TracChangeset for help on using the changeset viewer.