Skip to content

Commit 612f6a2

Browse files
authored
Merge branch 'master' into update/error_messages
2 parents 8d5420f + 4762db7 commit 612f6a2

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

Src/PChecker/CheckerCore/SystematicTesting/TestReport.cs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,12 @@ public string GetText(CheckerConfiguration checkerConfiguration, string prefix =
241241
totalExploredSchedules,
242242
totalExploredSchedules == 1 ? string.Empty : "s");
243243

244-
// Comment out this part until feedback strategy error is fixed
245-
// report.AppendLine();
246-
// report.AppendFormat(
247-
// "{0} Explored {1} timeline{2}",
248-
// prefix.Equals("...") ? "....." : prefix,
249-
// ExploredTimelines.Count,
250-
// ExploredTimelines.Count == 1 ? string.Empty : "s");
244+
report.AppendLine();
245+
report.AppendFormat(
246+
"{0} Explored {1} timeline{2}",
247+
prefix.Equals("...") ? "....." : prefix,
248+
ExploredTimelines.Count,
249+
ExploredTimelines.Count == 1 ? string.Empty : "s");
251250

252251
if (totalExploredSchedules > 0 &&
253252
NumOfFoundBugs > 0)

Src/PChecker/CheckerCore/SystematicTesting/TestingEngine.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -642,10 +642,6 @@ private void RunNextIteration(int schedule)
642642
if (ShouldPrintIteration(schedule))
643643
{
644644
var seconds = watch.Elapsed.TotalSeconds;
645-
if (Strategy is IFeedbackGuidedStrategy s)
646-
{
647-
s.DumpStats(Logger);
648-
}
649645
}
650646

651647
if (!IsReplayModeEnabled && _checkerConfiguration.PerformFullExploration && runtime.Scheduler.BugFound)

Tst/CorrectLogs/bugs2/Main_0_0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
<StrategyLog> Found 1 bug.
1313
<StrategyLog> Scheduling statistics:
1414
<StrategyLog> Explored 1 schedule
15+
<StrategyLog> Explored 1 timeline
1516
<StrategyLog> Found 100.00% buggy schedules.
1617
<StrategyLog> Number of scheduling points in terminating schedules: 2 (min), 2 (avg), 2 (max).

0 commit comments

Comments
 (0)