sclorg / container-common-scripts

Apache License 2.0
20 stars 45 forks source link

Add function for running all test in $TEST_SET. #229

Closed zmiklank closed 2 years ago

zmiklank commented 2 years ago

The function could be then called to run every application container test suite.

zmiklank commented 2 years ago

Also, @phracek, is the ct_run_test_list function from test-lib.sh still valid? Seems, it does similar work.

phracek commented 2 years ago

ct_run_test_list

It could be enhanced. I totally agree to have only one function. It is not used at all. See https://github.com/search?q=org%3Asclorg+ct_run_test_list&type=code

zmiklank commented 2 years ago

I removed the ct_run_test_list function.

zmiklank commented 2 years ago

I updated the ct_run_tests_from_testset function, so it works with global TESTSUITE_RESULT.

zmiklank commented 2 years ago

I added a _ct_check_testcase_result function to test-lib.sh.

phracek commented 2 years ago

[test]

zmiklank commented 2 years ago

[test]

zmiklank commented 2 years ago

[test]