Changes between Version 3 and Version 4 of Snow


Ignore:
Timestamp:
09/20/14 22:29:09 (3 years ago)
Author:
alexshinn
Comment:

Adding syntax for specifying tests.

Legend:

Unmodified
Added
Removed
Modified
  • Snow

    v3 v4  
    146146   ;; A list of cond-expand features required to install the library. 
    147147   (features utf8 bignum) 
     148   ;; List of phases this library is used for, where <phase> can be any 
     149   ;; of install, build or test.  The default is just install.  If used by other 
     150   ;; phases, this library will be installed in a temporary location for use 
     151   ;; during the given phase. 
     152   (use-for install) 
     153   ;; Library containing tests to run before installing this library. 
     154   ;; The second argument is the entry point, which should be a thunk 
     155   ;; which returns a true value if all tests pass, and defaults to run-tests. 
     156   (test-library (wonderland cheshire cat test) run-tests) 
     157   ;; Program containing tests to run before installing this library. 
     158   ;; The program should exit with a success value (0 on POSIX systems) 
     159   ;; if all tests pass.  Tools should fail or warn before installing libraries 
     160   ;; for which any tests fail. 
     161   (test-program "relative/path/to/test-program.scm") 
     162   (test-program (program name)) 
    148163   ;; A list of author names. 
    149164   (authors "Alice Caroll")