Ignore:
Timestamp:
05/04/12 13:48:56 (9 years ago)
Author:
Mark Evenson
Message:

ansi-tests: Fix ANSI-RT load definition.

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/test/lisp/ansi/abcl-ansi.lisp

    r13924 r13925  
    3737    (error 'file-error
    3838     "Failed to find the GCL ANSI tests in '~A'. Please
    39 locally obtain ~A, and set the value of *ANSI-TESTS-DIRECTORY* to that
    40 location." 
     39locally obtain ~A, and place it in a sibling directory to the ABCL source named '../ansi-tests/'"
    4140       *ansi-tests-directory*
    4241       *ansi-tests-master-source-location*)))
Note: See TracChangeset for help on using the changeset viewer.