summaryrefslogtreecommitdiffstats
path: root/test/option-n.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option-n.py')
-rw-r--r--test/option-n.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option-n.py b/test/option-n.py
index b8dde0f..a32dfb7 100644
--- a/test/option-n.py
+++ b/test/option-n.py
@@ -168,8 +168,8 @@ test.fail_test(os.path.exists(test.workpath('build', 'f4.in')))
# test Configure-calls in conjunction with -n
test.subdir('configure')
-test.match_function = TestSCons.match_re_dotall
-test.diff_function = TestSCons.diff_re
+test.set_match_function(TestSCons.match_re_dotall)
+test.set_diff_function(TestSCons.diff_re)
test.write('configure/SConstruct',
"""def CustomTest(context):
def userAction(target,source,env):