aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/conanfile-probe/testapp/conanfile.py
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2021-11-03 17:16:11 +0300
committerIvan Komissarov <abbapoh@gmail.com>2021-11-03 17:16:11 +0300
commitaddb0dc30b5866743c7574770630b5a0252306d4 (patch)
tree44df80c4ee10d3506f8d5ed74e1553d3cd5e82df /tests/auto/blackbox/testdata/conanfile-probe/testapp/conanfile.py
parent96d7358c6bd222a70d3a945e6f56a623364a4e2c (diff)
parentae937f07673aa95b67218e4be36a38e4438c0171 (diff)
Merge branch '1.21' into master
Diffstat (limited to 'tests/auto/blackbox/testdata/conanfile-probe/testapp/conanfile.py')
-rw-r--r--tests/auto/blackbox/testdata/conanfile-probe/testapp/conanfile.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata/conanfile-probe/testapp/conanfile.py b/tests/auto/blackbox/testdata/conanfile-probe/testapp/conanfile.py
index 630cf0283..59e40cc80 100644
--- a/tests/auto/blackbox/testdata/conanfile-probe/testapp/conanfile.py
+++ b/tests/auto/blackbox/testdata/conanfile-probe/testapp/conanfile.py
@@ -7,12 +7,13 @@ class TestApp(ConanFile):
version = "6.6.6"
settings = "os"
- options = {"opt": [True, False]}
- default_options = {"opt": False}
+ options = {"opt": [True, False], "forceFailure": [True, False]}
+ default_options = {"opt": False, "forceFailure": False}
requires = "testlib/1.2.3@qbs/testing"
def configure(self):
+ assert(not self.options.forceFailure)
self.options["testlib"].opt = self.options.opt
def source(self):