Skip to content

Commit f0fdc82

Browse files
committed
Update the code size measurement tool
[SVN r63916]
1 parent 2770651 commit f0fdc82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/program_options_size_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def run_test(num_calls, compiler_command):
2121
f.write("(\"opt%d\", value<int>())\n")
2222
f.write(";\n}\n")
2323
f.close()
24-
os.system(compiler_command + " -c -save-temps -I /home/ghost/Work/boost-rc program_options_test.cpp")
24+
os.system(compiler_command + " -c -save-temps -I /home/ghost/Work/Boost/boost-svn program_options_test.cpp")
2525

2626
nm = os.popen("nm -S program_options_test.o")
2727
for l in nm:
@@ -45,7 +45,7 @@ def run_tests(range, compiler_command):
4545
print "Avarage: ", (last_size-first_size)/(range[-1]-range[0])
4646

4747
if __name__ == '__main__':
48-
for compiler in [ "g++-3.3 -Os", "g++-3.3 -O3", "g++-3.4 -Os", "g++-3.4 -O3"]:
48+
for compiler in [ "g++ -Os", "g++ -O3"]:
4949
print "****", compiler, "****"
5050
run_tests(range(1, 20), compiler)
5151

0 commit comments

Comments
 (0)