Skip to content

Commit

Permalink
Change wording of some segment related checks (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy authored Mar 10, 2023
1 parent 30bdc4b commit 855ce40
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Utils/segment_validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function analyze_results($returncode, $curr_adapt_dir, $representationDirectory)
$logger->test(
"Segment Validations",
"analyze_results()",
"stderr filled??",
"Output file contains validation results",
filesize($stdErrPath) !== 0 && filesize($stdErrPath) !== false,
"FAIL",
"Contents in stderr.txt found",
Expand All @@ -178,7 +178,7 @@ function analyze_results($returncode, $curr_adapt_dir, $representationDirectory)
$logger->test(
"Segment Validations",
"analyze_results()",
"stderr filled??",
"Output file contains validation results",
filesize($stdErrPath) !== 0 && filesize($stdErrPath) !== false,
"FAIL",
"Contents in stderr.txt found",
Expand Down Expand Up @@ -549,7 +549,7 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
$logger->test(
"Segment Validation",
"Segment Validation",
"std error output",
"Check for content in error log",
true,
"PASS",
"Segment validation did not produce any output",
Expand Down Expand Up @@ -578,7 +578,7 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
$logger->test(
"Segment Validation",
"Segment Validation",
"std error output",
"Check for content in error log",
$severity == "PASS",
$severity,
$msg,
Expand All @@ -591,11 +591,11 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
$logger->test(
"Segment Validation",
"Segment Validation",
"std error output",
"Check for content in error log",
$commonSeverity == "PASS",
$commonSeverity,
"Segment validation output is not depicted in detail",
"Segment validation output is not depicted in detail"
"Segment validation did not produce any errors",
"Segment validation produced errors but output is not depicted in detail"
);
}
}
Expand Down

0 comments on commit 855ce40

Please sign in to comment.