Hi, guys,
We have a scenario like next:
action: - test definitions: - from: inline name: test1 - test definitions: - from: inline name: test2
For some reasons, we have to use 2 tests here, everything is ok now. But, if `test1`, that is ` /lava-3102/0/tests/0_test1/run.sh` finished with non-zero, from web we can see the suite fail. Then, we want to exit the job at once, not continue to run `test2`. If possible here?
Regards, Larry
On Wed, Jun 30, 2021 at 11:02 AM Larry Shen larry.shen@nxp.com wrote:
Hi, guys,
We have a scenario like next:
action:
test
definitions:
from: inline
name: test1
test
definitions:
from: inline
name: test2
For some reasons, we have to use 2 tests here, everything is ok now.
But, if `test1`, that is ` /lava-3102/0/tests/0_test1/run.sh` finished with non-zero, from web we can see the suite fail.
Then, we want to exit the job at once, not continue to run `test2`. If possible here?
lava-test-raise should do the trick https://master.lavasoftware.org/static/docs/v2/writing-tests.html#call-lava-...
Best Regards, milosz
Regards,
Larry
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Work nicely, thanks Milosz!
Regards, Larry
-----Original Message----- From: Milosz Wasilewski milosz.wasilewski@foundries.io Sent: Wednesday, June 30, 2021 7:43 PM To: Larry Shen larry.shen@nxp.com Cc: lava-users@lists.lavasoftware.org Subject: [EXT] Re: [Lava-users] How to exit job in advance.
Caution: EXT Email
On Wed, Jun 30, 2021 at 11:02 AM Larry Shen larry.shen@nxp.com wrote:
Hi, guys,
We have a scenario like next:
action:
test
definitions:
from: inline
name: test1
test
definitions:
from: inline
name: test2
For some reasons, we have to use 2 tests here, everything is ok now.
But, if `test1`, that is ` /lava-3102/0/tests/0_test1/run.sh` finished with non-zero, from web we can see the suite fail.
Then, we want to exit the job at once, not continue to run `test2`. If possible here?
lava-test-raise should do the trick https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmaster.lav...
Best Regards, milosz
Regards,
Larry
Lava-users mailing list Lava-users@lists.lavasoftware.org https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.lava...
lava-users@lists.lavasoftware.org