summaryrefslogtreecommitdiffstats
path: root/test/option--profile.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-04-19 23:30:23 (GMT)
committerSteven Knight <knight@baldmt.com>2003-04-19 23:30:23 (GMT)
commit1691e6792ea238c0cfe3d8f4cc1aa56262d343b4 (patch)
tree637b24aa35a0cf3a02a1b437cec7d90dc178db5a /test/option--profile.py
parente6b7921406394594c23f907469e923ccf028adcc (diff)
downloadSCons-1691e6792ea238c0cfe3d8f4cc1aa56262d343b4.zip
SCons-1691e6792ea238c0cfe3d8f4cc1aa56262d343b4.tar.gz
SCons-1691e6792ea238c0cfe3d8f4cc1aa56262d343b4.tar.bz2
Fixes for __COPYRIGHT__ in tests; eliminate unnecessary output.
Diffstat (limited to 'test/option--profile.py')
-rw-r--r--test/option--profile.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/option--profile.py b/test/option--profile.py
index ca0ec05..5a6e473 100644
--- a/test/option--profile.py
+++ b/test/option--profile.py
@@ -37,7 +37,8 @@ scons_prof = test.workpath('scons.prof')
test.run(arguments = "--profile=%s -v " % scons_prof)
test.fail_test(string.find(test.stdout(), 'SCons by ') == -1)
-test.fail_test(string.find(test.stdout(), 'Copyright') == -1)
+test.fail_test(string.find(test.stdout(), 'Copyright') == -1 and
+ string.find(test.stdout(), '__COPYRIGHT__') == -1)
stats = pstats.Stats(scons_prof)
stats.sort_stats('time')
@@ -58,7 +59,8 @@ scons_prof = test.workpath('scons2.prof')
test.run(arguments = "--profile %s -v " % scons_prof)
test.fail_test(string.find(test.stdout(), 'SCons by ') == -1)
-test.fail_test(string.find(test.stdout(), 'Copyright') == -1)
+test.fail_test(string.find(test.stdout(), 'Copyright') == -1 and
+ string.find(test.stdout(), '__COPYRIGHT__') == -1)
stats = pstats.Stats(scons_prof)
stats.sort_stats('time')