Permalink
Browse files

Merge branch 'master' of git://github.com/redline6561/paktahn

  • Loading branch information...
telser committed Dec 13, 2011
2 parents f04dc26 + c28c083 commit ffb0e39921ccac6bd02b89c157062353e8a4d417
View
@@ -1,7 +0,0 @@
-(defsystem :paktahn-tests
- :name "Paktahn Tests"
- :author "Trevis Elser"
- :license "GPL"
- :depends-on (:paktahn :fiveam :trivial-timeout)
- :components ((:file "tests")))
-
View
@@ -4,6 +4,7 @@
:version "0.8.2"
:author "Leslie Polzer"
:license "GPL"
+ :pathname "src/"
:depends-on (:md5 :trivial-backtrace :cl-store :cl-json
:drakma :cffi :alexandria :metatilities
:unix-options :cl-ppcre :py-configparser
@@ -22,4 +23,16 @@
(:file "pkgbuild")
(:file "aur")
(: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.
View
@@ -1,3 +0,0 @@
-(defpackage :paktahn-tests
- (:use :cl :paktahn :fiveam))
-
View
@@ -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.