Added trace and persist flags to test_runner

This commit is contained in:
Christopher Haster
2022-04-19 02:05:08 -05:00
parent 9281ce26a7
commit 92a600a980
5 changed files with 74 additions and 5 deletions
+2
View File
@@ -21,11 +21,13 @@ extern "C"
// Block device specific tracing
#ifndef LFS_TESTBD_TRACE
#ifdef LFS_TESTBD_YES_TRACE
#define LFS_TESTBD_TRACE(...) LFS_TRACE(__VA_ARGS__)
#else
#define LFS_TESTBD_TRACE(...)
#endif
#endif
// Mode determining how "bad blocks" behave during testing. This simulates
// some real-world circumstances such as progs not sticking (prog-noop),