From 58278b094102cee8cdd581e64d09f9d9ed9af40b Mon Sep 17 00:00:00 2001 From: ben-spiller Date: Sun, 29 Dec 2019 20:00:12 +0000 Subject: [PATCH] fix tests to ignore version number --- tests/correctness/Cor_009/run.py | 4 ++-- tests/correctness/Cor_011/run.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/correctness/Cor_009/run.py b/tests/correctness/Cor_009/run.py index e3f87c3..fe8fc47 100644 --- a/tests/correctness/Cor_009/run.py +++ b/tests/correctness/Cor_009/run.py @@ -18,5 +18,5 @@ def validate(self): self.logFileContents('loganalyzer_output/logged_errors.txt', maxLines=0) self.logFileContents('loganalyzer_output/logged_warnings.txt', maxLines=0) - self.assertDiff('loganalyzer_output/logged_errors.txt', 'ref-errors.txt') - self.assertDiff('loganalyzer_output/logged_warnings.txt', 'ref-warnings.txt') \ No newline at end of file + self.assertDiff('loganalyzer_output/logged_errors.txt', 'ref-errors.txt', ignores=['log analyzer v']) + self.assertDiff('loganalyzer_output/logged_warnings.txt', 'ref-warnings.txt', ignores=['log analyzer v']) \ No newline at end of file diff --git a/tests/correctness/Cor_011/run.py b/tests/correctness/Cor_011/run.py index 9de2f97..7afbdfe 100644 --- a/tests/correctness/Cor_011/run.py +++ b/tests/correctness/Cor_011/run.py @@ -14,6 +14,6 @@ def validate(self): self.checkForAnalyzerErrors(stdouterr='loganalyzer_java') self.checkForAnalyzerErrors(stdouterr='loganalyzer_nonjava') - self.assertDiff('loganalyzer_java_output/logged_errors.txt', 'ref-java-errors.txt') - self.assertDiff('loganalyzer_java_output/logged_warnings.txt', 'ref-java-warnings.txt') - self.assertDiff('loganalyzer_nonjava_output/logged_errors.txt', 'ref-nonjava-errors.txt') \ No newline at end of file + self.assertDiff('loganalyzer_java_output/logged_errors.txt', 'ref-java-errors.txt', ignores=['log analyzer v']) + self.assertDiff('loganalyzer_java_output/logged_warnings.txt', 'ref-java-warnings.txt', ignores=['log analyzer v']) + self.assertDiff('loganalyzer_nonjava_output/logged_errors.txt', 'ref-nonjava-errors.txt', ignores=['log analyzer v']) \ No newline at end of file