diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-04-04 13:20:24 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-04-07 08:38:23 +0000 |
commit | bc5ef731d64edd6d2f152a7c68b6ad46efd7066c (patch) | |
tree | 9bdbb644724505e478c68499181f138df004313c /tests/auto/api/testdata/error-in-setup-run-environment | |
parent | ad78ab0bd362c79b58ebb44dfd0646f49027bb37 (diff) |
Do not throw exceptions from the RunEnvironment class.
Apparently, this class was overlooked when we made the API non-throwing
(or it was internal at the time).
Task-number: QBS-952
Change-Id: I445436c1ddb3d815a20f44a87438b3cdbccfc156
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tests/auto/api/testdata/error-in-setup-run-environment')
-rw-r--r-- | tests/auto/api/testdata/error-in-setup-run-environment/error-in-setup-run-environment.qbs | 5 | ||||
-rw-r--r-- | tests/auto/api/testdata/error-in-setup-run-environment/modules/mymodule/mymodule.qbs | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/error-in-setup-run-environment/error-in-setup-run-environment.qbs b/tests/auto/api/testdata/error-in-setup-run-environment/error-in-setup-run-environment.qbs new file mode 100644 index 000000000..f3247f6f8 --- /dev/null +++ b/tests/auto/api/testdata/error-in-setup-run-environment/error-in-setup-run-environment.qbs @@ -0,0 +1,5 @@ +import qbs + +CppApplication { + Depends { name: "mymodule" } +} diff --git a/tests/auto/api/testdata/error-in-setup-run-environment/modules/mymodule/mymodule.qbs b/tests/auto/api/testdata/error-in-setup-run-environment/modules/mymodule/mymodule.qbs new file mode 100644 index 000000000..e698b45b5 --- /dev/null +++ b/tests/auto/api/testdata/error-in-setup-run-environment/modules/mymodule/mymodule.qbs @@ -0,0 +1,7 @@ +import qbs + +Module { + setupRunEnvironment: { + trallala + } +} |