Commit 1bc3b142 authored by Francois-Rene Rideau's avatar Francois-Rene Rideau

Frob doc & TODO. Add tagged release extraction to run-test.

parent 2148111c
* use cl-test-grid to see if asdf-user can :use most of UIOP.
Unhappily, on SBCL, sb-grovel uses asdf and sb-ext,
which causes a clash with run-program.
* have some automated test to make sure asdf-driver works with asdf 2.26
* have a mode to explain WHY a componnet needs to be recompiled.
* have a better defsystem form verifier - see lp#1007335
......
......@@ -113,7 +113,8 @@
(All of them but CLISP also accept
<tt>:asdf</tt>, <tt>"ASDF"</tt> or <tt>'asdf</tt> as an argument.)
All of these implementations provide at least ASDF 2,
and a few of them aready provide ASDF 3 (<tt>allegro</tt>, <tt>ccl</tt>, <tt>cmucl</tt>, <tt>ecl</tt>).
and a few of them aready provide ASDF 3
(<tt>abcl</tt>, <tt>allegro</tt>, <tt>ccl</tt>, <tt>cmucl</tt>, <tt>ecl</tt>).
Hopefully soon all will follow suit;
but in the meantime, you can download ASDF 3,
and use <tt>(asdf:load-system :asdf)</tt>
......
......@@ -20,13 +20,14 @@ usage () {
echo " -c -- clean load test"
echo " -l -- load systems tests"
echo " -t -- test interactively"
echo " -H -- extract all asdf versions to upgrade from"
}
unset DEBUG_ASDF_TEST upgrade clean_load load_systems test_interactively
unset DEBUG_ASDF_TEST upgrade clean_load load_systems test_interactively extract_all
SHELL=/bin/sh
export SHELL
while getopts "cdthulhu" OPTION
while getopts "cdtHulhu" OPTION
do
case $OPTION in
d)
......@@ -44,6 +45,9 @@ do
t)
test_interactively=t
;;
H)
extract_all=t
;;
h)
usage
exit 1
......@@ -264,14 +268,14 @@ upgrade_methods () {
EOF
}
extract_tagged_asdf () {
ver=$1
if [ REQUIRE = "$ver" ] ; then return 0 ; fi
tag=$1
if [ REQUIRE = "$tag" ] ; then return 0 ; fi
file=build/asdf-${tag}.lisp ;
if [ ! -f $file ] ; then
case $ver in
case $tag in
1.*|2.0*|2.2[0-6]|2.26.61)
git show ${tag}:asdf.lisp > $file ;;
2.2*|3.*)
2.[2-9]*|3.*)
mkdir -p build/old/build
git archive ${tag} Makefile '*.lisp' | (cd build/old/ ; tar xf -)
make -C build/old
......@@ -285,6 +289,11 @@ extract_tagged_asdf () {
esac
fi
}
extract_all_tagged_asdf () {
for i in `upgrade_tags` ; do
extract_tagged_asdf $i
done
}
valid_upgrade_test_p () {
case "${1}:${2}:${3}" in
# It's damn slow. Also, for some reason, we punt on anything earlier than 2.25,
......@@ -400,6 +409,8 @@ elif [ -n "$load_systems" ] ; then
test_load_systems "$@"
elif [ -n "$upgrade" ] ; then
run_upgrade_tests
elif [ -n "$extract_all" ] ; then
extract_all_tagged_asdf
else
run_tests "$@"
fi ; exit # NB: "; exit" makes it robust wrt the script being modified while running.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment