diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-05-11 20:31:57 -0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-05-11 20:31:57 -0400 |
commit | 708ad7d7dbfc8f8d52312c3989f86b183e12af45 (patch) | |
tree | 50400d1eecea4c8bbb85b4a13ca28b5906604b08 /sanity.jam | |
parent | e1cc454db3be1a5eedc3dba7022e813a772696d7 (diff) |
Fix relative paths in tests.
Diffstat (limited to 'sanity.jam')
-rw-r--r-- | sanity.jam | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -21,11 +21,7 @@ rule test_flags ( flags * ) { echo $(cmd) ; echo $(ret) ; } - if $(ret[2]) = 0 { - return true ; - } else { - return ; - } + return $(ret[2]) == 0 ; } rule test_header ( name ) { @@ -182,3 +178,9 @@ rule install-headers ( name : list * : source-root ? ) { source-root ?= "." ; install $(name) : $(list) : <location>$(includedir) <install-source-root>$(source-root) ; } + +rule build-projects ( projects * ) { + for p in $(projects) { + build-project $(p) ; + } +} |