Skip to content
  • 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