|
Last change
on this file was
15119,
checked in by Mark Evenson, 8 years ago
|
|
Cleanup prove tests
Remove use of test package, favoring use of CL-USER.
|
|
File size:
760 bytes
|
| Line | |
|---|
| 1 | (in-package :cl-user) |
|---|
| 2 | |
|---|
| 3 | ;;; TODO: restore original ASDF configuration after running test |
|---|
| 4 | (defun asdf-add-test-mvn-module () |
|---|
| 5 | (asdf:initialize-source-registry |
|---|
| 6 | `(:source-registry |
|---|
| 7 | (:directory ,(asdf:system-relative-pathname :asdf-mvn-module "t/eg/")) |
|---|
| 8 | :inherit-configuration))) |
|---|
| 9 | |
|---|
| 10 | (unless (ignore-errors (asdf:find-system :test-mvn-module)) |
|---|
| 11 | (asdf-add-test-mvn-module)) |
|---|
| 12 | |
|---|
| 13 | (prove:plan 3) |
|---|
| 14 | (prove:ok (asdf:load-system :test-mvn-module) |
|---|
| 15 | "Testing loading of ASDF:MVN-MODULE definitionâŠ") |
|---|
| 16 | (prove:ok (asdf:load-system :soot-only-repositories) |
|---|
| 17 | "Testing loading with only repositories listâŠ") |
|---|
| 18 | (prove:ok (asdf:load-system :soot-mixed-repositories) |
|---|
| 19 | "Testing loading with both single and list of repositoriesâŠ") |
|---|
| 20 | (prove:finalize) |
|---|
Note: See
TracBrowser
for help on using the repository browser.