diff options
-rwxr-xr-x | testing/runtests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/runtests.py b/testing/runtests.py index 5d5cee1..c7b7bc7 100755 --- a/testing/runtests.py +++ b/testing/runtests.py @@ -391,10 +391,10 @@ class Tester: elif (not outType and xopen(latex_output + "/temp",'r').read().find("Error")!= -1): msg += ("PDF generation failed\n For a description of the problem see 'refman.log' in the latex directory of this test",) failed_latex=True - elif xopen(latex_output + "/refman.log",'r').read().find("Error")!= -1: + elif xopen(latex_output + "/refman.log",'r',encoding='ISO-8859-1').read().find("Error")!= -1: msg += ("PDF generation failed\n For a description of the problem see 'refman.log' in the latex directory of this test",) failed_latex=True - elif xopen(latex_output + "/refman.log",'r').read().find("Emergency stop")!= -1: + elif xopen(latex_output + "/refman.log",'r',encoding='ISO-8859-1').read().find("Emergency stop")!= -1: msg += ("PDF generation failed\n For a description of the problem see 'refman.log' in the latex directory of this test",) failed_latex=True elif not self.args.keep: |