[zircon][zxtest]: Fix repeat with -1.
Using -i as repeat value will cause to run indefinitely. If combined with break on failure, will run until the first fails occures. Added test. ZX-4009 #done TEST=zxtest-test Change-Id: I10db1f74cd811842e8a82cd5913eb00b8b8dd017
Showing
- zircon/system/ulib/zxtest/reporter.cpp 10 additions, 8 deletionszircon/system/ulib/zxtest/reporter.cpp
- zircon/system/ulib/zxtest/runner.cpp 2 additions, 3 deletionszircon/system/ulib/zxtest/runner.cpp
- zircon/system/ulib/zxtest/test/runner_test.cpp 60 additions, 0 deletionszircon/system/ulib/zxtest/test/runner_test.cpp
- zircon/system/ulib/zxtest/test/test-registry.h 2 additions, 0 deletionszircon/system/ulib/zxtest/test/test-registry.h
Loading
Please register or sign in to comment