Hello Lava-users,

I am trying to run some test suites in LAVA and my test suite is organized as below
-single script with multiple test cases
-want to have report the results from LAVA of all test cases
-don't want to depend on the return value of script which will make as test case as PASS or FAIL

Developing test suites in shell script and using sh-test-lib and attached is sample test script for reference.
Want to report the result of iptable_packageCheck_test and iptable_kernel_config_test separately in LAVA framework and will be having single script for both the test cases.

Based on above criteria which is best method of running the test script in LAVA.Referred https://validation.linaro.org/static/docs/v2/developing-tests.html

Following is the content of LAVA Test Shell Definition I am using

metadata:
        name: applications
        format: "Lava-Test-Shell Test Definition 1.0"
        description: "Application tests."
        os:
                - debian
        scope:
                - Functional
        environment:
                - lava-test-shell
run:
    steps:
        - cd  /opt/applications
        - ./cron.sh
        - ./iptable.sh
       - . ../utils/send-to-lava.sh output/result.txt

Thanks,
Hemanth.