diff options
Diffstat (limited to 'test/Options/EnumOption.py')
-rw-r--r-- | test/Options/EnumOption.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/Options/EnumOption.py b/test/Options/EnumOption.py index 5e29477..610a485 100644 --- a/test/Options/EnumOption.py +++ b/test/Options/EnumOption.py @@ -82,22 +82,19 @@ check(['full', 'KdE', 'eins']) expect_stderr = """ scons: *** Invalid value for option debug: FULL -File "%(SConstruct_path)s", line 18, in ? -""" % locals() +""" + test.python_file_line(SConstruct_path, 18) test.run(arguments='debug=FULL', stderr=expect_stderr, status=2) expect_stderr = """ scons: *** Invalid value for option guilib: irgendwas -File "%(SConstruct_path)s", line 18, in ? -""" % locals() +""" + test.python_file_line(SConstruct_path, 18) test.run(arguments='guilib=IrGeNdwas', stderr=expect_stderr, status=2) expect_stderr = """ scons: *** Invalid value for option some: irgendwas -File "%(SConstruct_path)s", line 18, in ? -""" % locals() +""" + test.python_file_line(SConstruct_path, 18) test.run(arguments='some=IrGeNdwas', stderr=expect_stderr, status=2) |