@@ -545,6 +545,7 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
545545 $ currentModule = $ logger ->getCurrentModule ();
546546 $ currentHook = $ logger ->getCurrentHook ();
547547 $ logger ->setModule ("SEGMENT_VALIDATION " );
548+ $ logger ->setHook ("Segment Validation " );
548549
549550 $ content = file_get_contents ("$ representationDirectory/stderr.txt " );
550551 $ contentArray = explode ("\n" , $ content );
@@ -553,7 +554,7 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
553554 $ logger ->test (
554555 "Segment Validation " ,
555556 "Segment Validation " ,
556- "Check for content in error log " ,
557+ "Segment validator output should not contain errors " ,
557558 true ,
558559 "PASS " ,
559560 "Segment validation did not produce any output " ,
@@ -582,7 +583,7 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
582583 $ logger ->test (
583584 "Segment Validation " ,
584585 "Segment Validation " ,
585- "Check for content in error log " ,
586+ "Segment validator output should not contain errors " ,
586587 $ severity == "PASS " ,
587588 $ severity ,
588589 $ msg ,
@@ -595,7 +596,7 @@ function saveStdErrOutput($representationDirectory, $saveDetailedOutput = true)
595596 $ logger ->test (
596597 "Segment Validation " ,
597598 "Segment Validation " ,
598- "Check for content in error log " ,
599+ "Segment validator output should not contain errors " ,
599600 $ commonSeverity == "PASS " ,
600601 $ commonSeverity ,
601602 "Segment validation did not produce any errors " ,
0 commit comments