summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-07-22 12:47:32 (GMT)
committerSteven Knight <knight@baldmt.com>2003-07-22 12:47:32 (GMT)
commitf859b25563abd47e7fe7680b9a72a2245fae025c (patch)
tree2e0f53021a927859609d6c669992aee49ce7c0e8
parent17f8210401fbaf283fba34e5d87700e4e7431470 (diff)
downloadSCons-f859b25563abd47e7fe7680b9a72a2245fae025c.zip
SCons-f859b25563abd47e7fe7680b9a72a2245fae025c.tar.gz
SCons-f859b25563abd47e7fe7680b9a72a2245fae025c.tar.bz2
M4 test portability. (Chad Austin)
-rw-r--r--src/CHANGES.txt2
-rw-r--r--test/M4.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index 33e481d..4810df6 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -20,6 +20,8 @@ RELEASE 0.XX - XXX
- Add a DefaultEnvironment() function that only creates a default
environment on-demand (for fetching source files, e.g.).
+ - Portability fix for test/M4.py.
+
From Steven Knight:
- Tighten up the scons -H help output.
diff --git a/test/M4.py b/test/M4.py
index 0e7e809..cc35540 100644
--- a/test/M4.py
+++ b/test/M4.py
@@ -99,8 +99,8 @@ bar.M4(target = 'bar', source = 'bar.m4')
test.fail_test(test.read('wrapper.out') != "wrapper.py\n")
- test.fail_test(test.read('foo.x') != "line 1\nfff\nline 3\n")
+ test.fail_test(test.read('foo.x', 'r') != "line 1\nfff\nline 3\n")
- test.fail_test(test.read('bar') != "line 1\nbbb\nline 3\n")
+ test.fail_test(test.read('bar', 'r') != "line 1\nbbb\nline 3\n")
test.pass_test()