diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-03-04 01:59:27 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-03-04 01:59:27 (GMT) |
commit | 50fcfe63c960d925318b5b9a613599d2e11c0f97 (patch) | |
tree | ed3017e12cc6d8b08d39f8e41c6c7c45248609ce /tests/test_upload.py | |
parent | 42ca2151b1f671169ac51bac77ee45c676c1b967 (diff) |
update documentation
Diffstat (limited to 'tests/test_upload.py')
-rwxr-xr-x | tests/test_upload.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/test_upload.py b/tests/test_upload.py index 6763d22..59f4334 100755 --- a/tests/test_upload.py +++ b/tests/test_upload.py @@ -22,13 +22,11 @@ # This license is based on zlib license by Jean-loup Gailly and Mark Adler -# This script takes html output by test_pretty_print.py and uploads -# it to a web server over ssh using sftp. -# -# Simple example: (see help() for more info) -# -# ./test_upload.py --username=andreis --host=akhma.org --remotepath=/tmp/ -# +# This script takes html output by test_pretty_print.py and uploads it +# to a web server into an 'openscad_tests' subdir over ssh using sftp. +# It then modifies the 'index.html' file in that directory to 'add to +# the list' of reports on the remote web server. + # # Design @@ -52,6 +50,8 @@ # # 1. Local system must have sftp access to remote server # This can be tested by runnig this: sftp user@remotehost +# If you are using ssh-agent or an ssh-keyring it will go automatically. +# Otherwise it will request your password to be typed in. # # 2. Remote web server only needs static html. There is no requirement # for php/cgi/etc. @@ -101,11 +101,11 @@ example1: example2: - $ # run under X11 - $ ctest # result is Testing/Temporary/freebsd_ppc_nvidia_abc_report.html + $ # run under X11, then run under Xvfb, upload both reports to one site + $ ctest # X11 - result is Testing/Temporary/freebsd_x86_nvidia_abc_report.html $ test_upload.py --username=annag --host=fontanka.org --remotepath=/var/www/ $ export DISPLAY= # dont use 'display' X, use Xvfb (different drivers) - $ ctest # result will be Testing/Temporary/freebsd_ppc_mesa_xyz_report.html + $ ctest # XVfb - result is Testing/Temporary/freebsd_x86_mesa_xyz_report.html $ test_upload.py --username=annag --host=fontanka.org --remotepath=/var/www/ $ firefox http://fontanka.org/openscad_tests/index.html # result is 'index.html' with a link to the two separate test .html files |