From d03309a89920ebc8c7f61d7bfcc5b3cc4c7836e5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 15 May 2014 13:22:24 -0400 Subject: 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.) --- (limited to 'tests/ob_plat_is_concerned.rc') 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 -- cgit v0.9.1