diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-05-15 13:22:24 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-05-15 14:12:38 (EDT) |
commit | d03309a89920ebc8c7f61d7bfcc5b3cc4c7836e5 (patch) | |
tree | 9844152ff2bff13f2c523a2cae53c308e4f5372f /tests/ob_plat_is_concerned.rc | |
parent | 6208979d3c87d3171fcf8e68a7b8a91953462e7e (diff) |
tests/ob_plat_is_concerned.sh: New test.
The last test case is currently expected to fail:
FAIL: tests/ob_plat_is_concerned.sh
False positive:
Host platform: "all"
Package platforms: "!dev"
(There are also some errors about _ob_local.)
Diffstat (limited to 'tests/ob_plat_is_concerned.rc')
-rw-r--r-- | tests/ob_plat_is_concerned.rc | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/tests/ob_plat_is_concerned.rc b/tests/ob_plat_is_concerned.rc new file mode 100644 index 0000000..d4373df --- /dev/null +++ b/tests/ob_plat_is_concerned.rc @@ -0,0 +1,67 @@ +# Platform: all + +host_plat='dev' +plats='all' +result='false' +testcase + +host_plat='ao751h' +plats='all' +result='false' +testcase + +host_plat='all' +plats='all' +result='true' +testcase + +# Platform: any + +host_plat='dev' +plats='any' +result='true' +testcase + +host_plat='ao751h' +plats='any' +result='true' +testcase + +host_plat='all' +plats='any' +result='false' +testcase + +# Platform: dev + +host_plat='dev' +plats='dev' +result='true' +testcase + +host_plat='ao751h' +plats='dev' +result='false' +testcase + +host_plat='all' +plats='dev' +result='false' +testcase + +# Platform: !dev + +host_plat='dev' +plats='!dev' +result='false' +testcase + +host_plat='ao751h' +plats='!dev' +result='true' +testcase + +host_plat='all' +plats='!dev' +result='false' +testcase |