1. 04 Sep, 2016 4 commits
  2. 09 Sep, 2015 1 commit
  3. 31 Aug, 2015 1 commit
  4. 14 Apr, 2015 1 commit
  5. 17 Aug, 2014 1 commit
  6. 25 Apr, 2014 1 commit
  7. 09 Mar, 2013 1 commit
  8. 17 Oct, 2012 1 commit
  9. 03 Aug, 2012 1 commit
  10. 04 May, 2012 2 commits
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      ansi-tests: Fix ANSI-RT load definition. · 50ee397b
      A bit of a circular dance here to be able to use the ANSI-TESTS via
      ASDF.  In order to define functions like
      ABCL.TEST.ANSI:DO-TESTS-MATCHING we need to have loaded the
      REGRESSION-TEST package included with the ANSI-TESTS, so we can no
      longer use the value of the ABCL.TEST.ANSI:*ANSI-TESTS-DIRECTORY*.  We
      now do this via a relative pathname of the form '../ansi-tests/' to
      the location of 'abcl.asd' file, whereas our api previously suggested
      that one could set the contents of
      ABCL.TEST.ANSI:*ANSI-TESTS-DIRECTORY* to an arbitrary pathname.  This
      fixes the location of the ANSI-TESTS on the filesystem to be a sibling
      directory named 'ansi-tests' to the truename of the directory
      containing 'abcl.asd'.
      
      I tried to add some sort of :before method to either the ASDF:LOAD-OP
      or the ASDF:COMPILE-OP for the ANSI-RT definition, but assuming that
      the source named in an system definition exists locally seems too
      baked into ASDF2 to be cleanly intercepted.
      50ee397b
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      ansi-tests: DO-TESTS-MATCHING will run all case-insensitive matching tests. · b6a3ad17
      An ASDF load of ANSI-INTERPRETED now loads the interpreted tests into
      memory via an :around specialization.
      
      Changes in ABCL.TEST.ANSI (aka ANSI-TESTS):
      
      DO-TESTS-MATCHING implemented (cribbed from ABCL-TEST-LISP).
      
      Refactored DEFPACKAGE forms out of ABCL-ANSI-TESTS code, creating
      abcl-ansi.lisp to hold all other forms.
      
      Import symbols from REGRESSION-TEST where it makes sense (list could
      probably be larger; why not just use the package?)
      b6a3ad17
  11. 30 Sep, 2011 1 commit
  12. 16 Jun, 2011 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      Create form of SYSTEM:ZIP that uses a hashtable to map files to entries. · 6e60f1a0
      SYSTEM:ZIP PATH HASHTABLE now creates entries in a zipfile at PATH
      whose entries are the contents of for each (KEY VALUE) in HASHTABLE
      for which KEY refers to an object on the filesystem and VALUE is the
      location in the zip archive.
      
      Introduce Java interfaces in org.armedbear.lisp.protocol to start
      encapsulating behavior of Java system.  By retroactively adding
      markers to the object hierarchy rooted on LispObject we gain the
      ability to have our JVM code optionally work with interfaces but we
      leave the core dispatch functions alone for speed.
      6e60f1a0
  13. 07 Jun, 2011 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      Implementation of hashtables with weak keys and/or values. · bd90e2da
      MAKE-HASH-TABLE now has an optional :WEAKNESS argument that can take
      the values :KEY, :VALUE, :KEY-AND-VALUE, or :KEY-OR-VALUE.  :KEY means
      that the key of an entry must be live to guarantee that the entry is
      preserved. VALUE means that the value of an entry must be live to
      guarantee that the entry is preserved.  :KEY-AND-VALUE means that both
      the key and the value must be live to guarantee that the entry is
      preserved.  :KEY-OR-VALUE means that either the key or the value must
      be live to guarantee that the entry is preserved.
      
      The tests simply excercise the various types of weak hash tables
      enough that a GC phase should show that the table indeed does decrease
      in size.
      
      Changed the defition of functions in HashTableFunctions to match
      current docstring/pf_XXX() naming conventions.
      
      This implementation is only lightly tested in single-threaded use, and
      untested in multiple threading scenarios.
      
      Addresses ticket:140.
      bd90e2da
  14. 04 Apr, 2011 1 commit
  15. 03 Apr, 2011 1 commit
  16. 27 Nov, 2010 1 commit
  17. 07 Nov, 2010 2 commits
  18. 24 Sep, 2010 1 commit
  19. 28 Aug, 2010 1 commit
  20. 15 Aug, 2010 1 commit
  21. 07 May, 2010 1 commit
  22. 15 Apr, 2010 2 commits
  23. 27 Feb, 2010 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      ANSI test database can now contain multiple test results per version. · 6cb21dae
      We change the syntax of the ANSI test results database to allow the
      specification of a unique identifier plus other optional identifying
      information by allowing keyword/value pairs.  The keyword :ID
      specifies the identifier, which should be a symbol.  Other arbitrary
      keywords are allowed which specify additional information to be
      associated with the symbol specified by :ID in the *ID* hashtable.
      Not every test failure entry needs to specify this information.  In
      case of duplicates, the last entry wins.  Suggested other keywords are
      :JVM to specify the Java virtual machine, and :UNAME to specify the
      operating system/hardware combination in a GNU autoconf-like string.
      See the comments at the beginning of 'parse-ansi-errors.lisp' for more
      details.
      
      The utility has been packaged in ABCL.ANSI.TEST, showing up in the
      ANSI-COMPILED and ANSI-INTERPRETED ASDF systems loadable from
      'abcl.asd'.
      
      A database of failures has been included in 'ansi-test-failures'.  It
      is intended that other developers entrich this database with their own
      test results.
      6cb21dae
  24. 29 Jan, 2010 1 commit
  25. 26 Jan, 2010 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      Move abcl-test-lisp to ASDF packaging. · f71287a8
      Change to ASDF packaging of abcl-test-lisp.  Remove ASDF system
      'abcl-tests' as ASDF systems without components don't carry
      dependencies transitively.  Remove unneed :BEFORE load of
      abcl-test-lisp. Renamed conflicting tests now that they are loaded via
      ASDF.
      
      Implement ability to run tests matching a string.  Export
      ABCL.TEST.LISP::RUN-MATCHING as external symbol.
      
      Added 'test/lisp/abcl/math-tests.lisp' back to ABCL.TEST.LISP, fixing
      errors that prevented it from working.
      
      Fix bug with directories specified to three-arg form of SYS:ZIP.  JAR
      files always use '/' to name hierarchial entries.  Allow of a top
      directory for creating hierarchially ZIPs: for arguments like
      "pathname pathnames &optional topdir" all pathnames will be
      interpolated relative to topdir.
      
      Contains the version of jar-file tests corresponding to PATHNAME,
      TRUENAME, and PROBE-FILE.  The tests for jar-file will currently fail
      as it needs the implementation of SYS:UNZIP which in turn depends on
      the new version of Pathname which should follow shortly in a separate
      commit.
      
      jar-file initilization rewritten in Lisp, so it works under Windows.
      
      Java tests for Pathname and Stream.
      
      Help my dyslexic brain by renaming
      *abcl-{lisp-test,test,lisp}-directory* to *abcl-test-directory*.
      
      Refinement of jar-file tests. Correct all JAR-FILE.PATHNAME.* tests.
      JAR-FILE tests use the cross-platform form of COPY-FILE. Renamed test,
      using WITH-JAR-FILE-INIT macro.
      f71287a8
  26. 06 Jan, 2010 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      Reworked test infrastructure. · bfc2ee54
      Use ASDF to invoke all tests from Ant.
      
      Add working test for Ant version at least 1.7.1.
      
      Changed structure of 'build.xml' slightly to emphasize 'help' target
      by placing it first.
      
      Include cl-bench tests in 'abcl.test.lisp' Ant target.
      
      Added 'help.test' target for help invoking tests.
      
      abcl.asd now works for invoking tests.  ASDF systems with empty
      component specifications must be invoked with the :force t option to
      execute correctly.
      bfc2ee54
  27. 05 Jan, 2010 2 commits
  28. 22 Dec, 2009 2 commits
  29. 09 Sep, 2009 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      Added support for loading Lisp from JAR files. · d75e81df
      Pathnames passed to LOAD may now specify loading from within JAR files
      by using the 'jar:file:' uri schema:
      
         (load "jar:file:///PATH/TO.jar!/foo")
      
      would attempt to load Lisp "associated" with 'foo' in a JAR file
      located '/PATH/TO.jar'.  "Associated with" means that the the
      following entries in the JAR are looked for:
      
         1) 'foo._'  (the initial FASL from compiling 'foo.lisp)
         2) 'foo.abcl' (the packed FASL)
         3) 'foo.lisp'
      
      Associated tests have been included but currently only work under UNIX
      due to the need to package up the FASLs for testing.
      d75e81df
  30. 13 Jun, 2009 1 commit
  31. 24 Apr, 2009 1 commit
  32. 30 Jan, 2009 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      ABCL included Lisp tests now working from ASDF and Ant. · adec2d9c
      The following targets now work from Ant:
      
          'test.ansi.compiled'
          'test.ansi.intepreted'
          'test.abcl.lisp'
      
      invoking the GCL ANSI tests compiled, GCL ANSI tests interpreted, and the internal ABCL tests.
      
      Packaged the internal ANSI Lisp test use of REGRESSION-TEST as
      ABCL-REGRESSION-TEST (nickname abcl-rt) to avoid conflicting with
      other test suites that use this.
      adec2d9c