Fix tests to not depend on now-unexported utilities.
authorFrancois-Rene Rideau <tunes@google.com>
Thu, 13 Sep 2012 15:46:10 +0000 (11:46 -0400)
committerFrancois-Rene Rideau <tunes@google.com>
Thu, 13 Sep 2012 15:46:10 +0000 (11:46 -0400)
test/script-support.lisp
test/test-configuration.script
test/test-multiple.script
test/test-static-and-serial.script
test/test-utilities.script

index a361503..d6e3e78 100644 (file)
@@ -1,4 +1,14 @@
-(defpackage :asdf-test (:use :common-lisp))
+(defpackage :asdf-test
+  (:use :common-lisp)
+  (:export
+   #:*test-directory* #:*asdf-directory*
+   #:load-asdf
+   #:register-directory #:asdf-load 
+   #:load-asdf-lisp #:compile-asdf #:load-asdf-fasl #:compile-load-asdf #:load-asdf-system
+   #:quit-on-error #:test-asdf
+   #:native-namestring
+   #:exit-lisp #:leave-lisp
+   #:quietly))
 
 (in-package #:asdf-test)
 
@@ -7,7 +17,7 @@
 
 ;;(format t "Evaluating asdf/test/script-support~%")
 
-;; We can't use asdf:merge-pathnames* because ASDF isn't loaded yet.
+;; We can't use asdf::merge-pathnames* because ASDF isn't loaded yet.
 ;; We still want to work despite and host/device funkiness.
 (defparameter *test-directory*
   (make-pathname :name nil :type nil :version nil
index 21a8c03..55a1906 100644 (file)
@@ -2,6 +2,10 @@
 (load "script-support.lisp")
 (load-asdf)
 
+(in-package :asdf)
+
+(use-package :asdf-test)
+
 (defparameter *test-directory*
   (merge-pathnames* (coerce-pathname "tmp/") *asdf-directory*))
 
@@ -59,7 +63,7 @@
                        :if-does-not-exist :create)
       (format s "(defsystem :foo~D)~%" i))))
 
-(quit-on-error
+(asdf-test:quit-on-error
 
 (assert
  (equal (asdf::parse-output-translations-string "/foo:/bar::/baz:/quux")
index b28cae2..7a9ecc2 100644 (file)
@@ -2,6 +2,9 @@
 (load "script-support.lisp")
 (load-asdf)
 
+(in-package :asdf)
+(use-package :asdf-test)
+
 (quit-on-error
  (let* ((asd (merge-pathnames* (coerce-pathname "test-multiple.asd")
                                *test-directory*))
index 4e5f119..1b3b925 100644 (file)
@@ -2,6 +2,9 @@
 (load "script-support.lisp")
 (load-asdf)
 
+(in-package :asdf)
+(use-package :asdf-test)
+
 #+gcl (trace coerce-pathname)
 
 (quit-on-error
index a40a773..8cf5862 100644 (file)
@@ -2,6 +2,9 @@
 (load "script-support.lisp")
 (load-asdf)
 
+(in-package :asdf)
+(use-package :asdf-test)
+
 (quit-on-error
 
 (assert