some more regression testing fixes

This commit is contained in:
Arvid Norberg 2013-06-16 21:44:02 +00:00
parent daa25068dc
commit 261a25cab7
3 changed files with 7 additions and 4 deletions

View File

@ -7,6 +7,6 @@ project:
features: features:
- variant=release asserts=production - variant=release asserts=production
- statistics=on logging=verbose disk-stats=on bandwidth-limit-logging=on dht=logging - statistics=on logging=verbose disk-stats=on bandwidth-limit-logging=on dht=logging
- asserts=production ipv6=off dht=off extensions=off logging=off - asserts=production ipv6=off dht=off extensions=off logging=none
- deprecated-functions=off - deprecated-functions=off

View File

@ -169,9 +169,10 @@ for f in glob.glob(os.path.join(rev_dir, '*.json')):
html = open('index.html', 'w') html = open('index.html', 'w')
print >>html, '''<html><head><title>regression tests, %s revision %d</title><style type="text/css"> print >>html, '''<html><head><title>regression tests, %s revision %d</title><style type="text/css">
.passed { display: block; width: 5px; height: 1em; background-color: #6f8 } .passed { display: block; width: 8px; height: 1em; background-color: #6f8 }
.failed { display: block; width: 5px; height: 1em; background-color: #f68 } .failed { display: block; width: 8px; height: 1em; background-color: #f68 }
table { border: 0; } table { border: 0; }
th { font-size: 8pt; }
td { border: 0; border-spacing: 0px; padding: 0px 0px 0px 0px; } td { border: 0; border-spacing: 0px; padding: 0px 0px 0px 0px; }
.left-head { white-space: nowrap; } .left-head { white-space: nowrap; }
.compile-error { color: #f13; font-weight: bold; } .compile-error { color: #f13; font-weight: bold; }

View File

@ -36,6 +36,7 @@ def print_usage():
toolset are bjam toolsets. For instance clang, gcc, darwin, msvc etc. toolset are bjam toolsets. For instance clang, gcc, darwin, msvc etc.
remote-path is an scp path where the results are copied. This path has remote-path is an scp path where the results are copied. This path has
the form: user@hostname:/path the form: user@hostname:/path
if the remote-path is set to "-", no copying will be done
options: options:
@ -63,7 +64,8 @@ def loop():
run_tests.main(sys.argv[2:]) run_tests.main(sys.argv[2:])
os.system('scp -r %s %s' % (os.path.join(root_path, '%d' % r), remote_path)) if remote_path != '-':
os.system('scp -r %s %s' % (os.path.join(root_path, '%d' % r), remote_path))
time.sleep(120) time.sleep(120)