Fix logging level in logrun, demote assumption checks
This commit is contained in:
@@ -486,7 +486,7 @@ static void DeepState_InitInputFromFile(const char *path) {
|
||||
DeepState_Abandon("Error reading file");
|
||||
}
|
||||
|
||||
DeepState_LogFormat(DeepState_LogInfo,
|
||||
DeepState_LogFormat(DeepState_LogTrace,
|
||||
"Initialized test input buffer with data from `%s`",
|
||||
path);
|
||||
}
|
||||
|
||||
@@ -584,11 +584,11 @@ struct Comparer {
|
||||
|
||||
#define ASSUME(expr) \
|
||||
DeepState_Assume(expr), ::deepstate::Stream( \
|
||||
DeepState_LogInfo, true, __FILE__, __LINE__)
|
||||
DeepState_LogTrace, true, __FILE__, __LINE__)
|
||||
|
||||
#define DEEPSTATE_ASSUME_BINOP(a, b, op) \
|
||||
DeepState_Assume((a op b)), ::deepstate::Stream( \
|
||||
DeepState_LogInfo, true, __FILE__, __LINE__)
|
||||
DeepState_LogTrace, true, __FILE__, __LINE__)
|
||||
|
||||
#define ASSUME_EQ(a, b) DEEPSTATE_ASSUME_BINOP(a, b, ==)
|
||||
#define ASSUME_NE(a, b) DEEPSTATE_ASSUME_BINOP(a, b, !=)
|
||||
|
||||
Reference in New Issue
Block a user