test_testsuite_class.py: Added testcases for load_From_file and apply_filters functions of Class Testsuite. conftest.py: Modified class_testsuite fixture to create the outdir as temporary directory which gets deleted after execution of testcases. test_data/sanitycheck.csv: load_from_file function uses this customized file to load the failed or last run testcases. test_data/sanitycheck_keyerror.csv: file used by test_load_from_file function to raise the appropriate error if there is a keyerror. scripts/requirements-build-test.txt: added mock & csv python libraries Signed-off-by: Aastha Grover <aastha.grover@intel.com>
1.1 KiB
Executable File
1.1 KiB
Executable File
| 1 | test | arch | platform | passed | status | extra_args | handler | handler_time | ram_size | rom_size |
|---|---|---|---|---|---|---|---|---|---|---|
| 2 | scripts/tests/sanitycheck/test_data/testcases/samples/test_app/sample_test.app | nios2 | demo_board_1 | TRUE | Passed | na | 2 | 3 | ||
| 3 | scripts/tests/sanitycheck/test_data/testcases/samples/test_app/sample_test.app | nios2 | demo_board_2 | TRUE | Passed | qemu | 0 | 2 | 3 | |
| 4 | scripts/tests/sanitycheck/test_data/testcases/tests/test_a/test_a.check_1 | nios2 | demo_board_2 | FALSE | failed | qemu | 0 | 2 | 3 | |
| 5 | scripts/tests/sanitycheck/test_data/testcases/tests/test_a/test_a.check_2 | nios2 | demo_board_2 | FALSE | failed | CONF_FILE="prj_poll.conf" | qemu | 0 | 2 | 3 |
| 6 | scripts/tests/sanitycheck/test_data/testcases/tests/test_b/test_b.check_1 | nios2 | demo_board_1 | TRUE | Passed | qemu | 0 | 2 | 3 | |
| 7 | scripts/tests/sanitycheck/test_data/testcases/tests/test_b/test_b.check_2 | nios2 | demo_board_2 | TRUE | Passed | CONF_FILE="prj_poll.conf" | qemu | 0 | 2 | 3 |
| 8 | scripts/tests/sanitycheck/test_data/testcases/tests/test_c/test_c.check_1 | nios2 | demo_board_1 | TRUE | Passed | qemu | 0 | 2 | 3 | |
| 9 | scripts/tests/sanitycheck/test_data/testcases/tests/test_c/test_c.check_2 | nios2 | demo_board_2 | TRUE | Passed | CONF_FILE="prj_poll.conf" | qemu | 0 | 2 | 3 |