Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' of git://github.com/redline6561/paktahn
  • Loading branch information
telser committed Dec 13, 2011
2 parents f04dc26 + c28c083 commit ffb0e39
Show file tree
Hide file tree
Showing 17 changed files with 28 additions and 11 deletions.
7 changes: 0 additions & 7 deletions paktahn-tests.asd

This file was deleted.

15 changes: 14 additions & 1 deletion paktahn.asd
Expand Up @@ -4,6 +4,7 @@
:version "0.8.2" :version "0.8.2"
:author "Leslie Polzer" :author "Leslie Polzer"
:license "GPL" :license "GPL"
:pathname "src/"
:depends-on (:md5 :trivial-backtrace :cl-store :cl-json :depends-on (:md5 :trivial-backtrace :cl-store :cl-json
:drakma :cffi :alexandria :metatilities :drakma :cffi :alexandria :metatilities
:unix-options :cl-ppcre :py-configparser :unix-options :cl-ppcre :py-configparser
Expand All @@ -22,4 +23,16 @@
(:file "pkgbuild") (:file "pkgbuild")
(:file "aur") (:file "aur")
(:file "cache") (:file "cache")
(:file "main"))) (:file "main"))
:in-order-to ((test-op (load-op paktahn-tests)))
:perform (test-op :after (op c)
(funcall (intern "RUN!" :paktahn-tests))))

(defsystem #:paktahn-tests
:depends-on (paktahn fiveam)
:pathname "tests/"
:components ((:file "tests")))

(defmethod operation-done-p ((op test-op)
(c (eql (find-system :paktahn))))
(values nil))
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions tests.lisp

This file was deleted.

14 changes: 14 additions & 0 deletions tests/tests.lisp
@@ -0,0 +1,14 @@
(defpackage :paktahn-tests
(:use :cl :paktahn :fiveam)
(:export #:run!))

(in-package :paktahn-tests)

;; It will make sense to split this up into several suites as we get more tests.
;; i.e. (libalpm, pkgbuild, customizepkg, argv, etc)

(def-suite :pak)
(in-suite :pak)

(test t-is-not-null
(is (not (null t))))

0 comments on commit ffb0e39

Please sign in to comment.