summaryrefslogtreecommitdiffstats
path: root/tests/ob_plat_is_concerned.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ob_plat_is_concerned.rc')
-rw-r--r--tests/ob_plat_is_concerned.rc67
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