mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
panic: allow running specific test cases from command line
Small quality-of-life improvement, make it easier to run specific test cases, when debugging the tests locally. Take the optional list of test cases to run from the command line.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
import sys
|
||||
import panic_tests as test
|
||||
from test_panic_util.test_panic_util import panic_test, run_all
|
||||
|
||||
@@ -247,4 +248,4 @@ def test_coredump_abort_flash_bin_crc(env, extra_data):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
run_all(__file__)
|
||||
run_all(__file__, sys.argv[1:])
|
||||
|
Reference in New Issue
Block a user