source: trunk/abcl/contrib/abcl-build/build/t/install.lisp

Last change on this file was 15532, checked in by Mark Evenson, 3 years ago

abcl-build: update ant URIs to available versions

File size: 716 bytes
Line 
1(in-package :cl-user)
2
3(let ((uri #p"https://downloads.apache.org/ant/binaries/apache-ant-1.10.12-bin.zip"))
4  (prove:plan 1)
5  (prove:ok 
6   (abcl/build:xdg/abcl-install-root uri)
7   (format nil "Suitable install root for <~a>" uri))
8
9   (prove:plan 2)
10   (let ((path (ext:make-temp-directory)))
11         (prove:diag
12           (format nil "Testing binary unzip installation of~%~,2t<~a>~%to~%~,2t '~a'." uri path))
13         (multiple-value-bind (root contents)
14             (abcl/build:xdg/install uri)
15           (prove:ok (and root
16                          (probe-file root)))
17           (prove:ok (and
18                      (consp contents)
19                      (> (length contents) 0))))))
20(prove:finalize)
21
Note: See TracBrowser for help on using the repository browser.