Skip to content

Commit

Permalink
* run-tests.py: Improved testsuite, added parameters support
Browse files Browse the repository at this point in the history
  to run only specified tests, cleaned up win/posix integration.



git-svn-id: https://s3tools.svn.sourceforge.net/svnroot/s3tools/s3cmd/trunk@300 830e0280-6d2a-0410-9c65-932aecc39d9d
  • Loading branch information
ludvigm committed Dec 29, 2008
1 parent 2e034b8 commit 63818a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
2008-12-29 Michal Ludvig <michal@logix.cz>

* S3/Exception.py: Python 2.4 doesn't automatically set
Exception.message.
* run-tests.py: Improved testsuite, added parameters support
to run only specified tests, cleaned up win/posix integration.
* S3/Exception.py: Python 2.4 doesn't automatically set
Exception.message.

2008-12-29 Michal Ludvig <michal@logix.cz>

Expand Down
8 changes: 4 additions & 4 deletions run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ def test_rmdir(label, dir_name):


## ====== Sync to S3
exclude_unicode_args = []
if have_unicode:
test_s3cmd("Sync to S3", ['sync', 'testsuite', 's3://s3cmd-autotest-1/xyz/', '--exclude', '.svn/*', '--exclude', '*.png', '--no-encrypt'])
else:
test_s3cmd("Sync to S3", ['sync', 'testsuite', 's3://s3cmd-autotest-1/xyz/', '--exclude', '.svn/*', '--exclude', '*.png', '--exclude', 'unicode/*', '--no-encrypt'])
exclude_unicode_args = [ '--exclude', 'unicode/*' ]
test_s3cmd("Sync to S3", ['sync', 'testsuite', 's3://s3cmd-autotest-1/xyz/', '--exclude', '.svn/*', '--exclude', '*.png', '--no-encrypt'] + exclude_unicode_args)


## ====== List bucket content
Expand Down Expand Up @@ -238,7 +238,7 @@ def test_rmdir(label, dir_name):


## ====== Sync more to S3
test_s3cmd("Sync more to S3", ['sync', 'testsuite', 's3://s3cmd-autotest-1/xyz/', '--exclude', '*.png', '--no-encrypt'])
test_s3cmd("Sync more to S3", ['sync', 'testsuite', 's3://s3cmd-autotest-1/xyz/', '--exclude', '*.png', '--no-encrypt'] + exclude_unicode_args)


## ====== Rename within S3
Expand Down

0 comments on commit 63818a1

Please sign in to comment.