diff options
author | Alon Levy <alevy@redhat.com> | 2011-07-19 15:58:45 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-19 15:58:45 +0300 |
commit | 978433d0695368ce77961cb1164cc59bb10a30b9 (patch) | |
tree | 8077bcc4bd14aa9b6a4c7513c6c347d4f65c08bf /spice_async_s3_tests | |
parent | 27734ecaddedd26d379009b671c6cb170c01c719 (diff) |
README and spice_async_s3_tests
Diffstat (limited to 'spice_async_s3_tests')
-rwxr-xr-x | spice_async_s3_tests | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/spice_async_s3_tests b/spice_async_s3_tests new file mode 100755 index 0000000..c6ed897 --- /dev/null +++ b/spice_async_s3_tests @@ -0,0 +1,22 @@ +#!/usr/bin/python +import os +import sys + +passed = 0 +base_args = lambda test: ('--guestdebug 2 --second --xephyr --shutdown --wintest %s' % test).split() +tests = [ + ("shutdown", []), + ("shutdown", ['--qxl', '2']), + ("suspend2", ['--qxl', '2']), + ("suspend", []), + ("resolution1", []), + ("resolution2", ['--qxl', '2']), +] +for test, extra in tests: + print "-- %15s -------------------------------------------" % test + if os.system('win7 %s' % (' '.join(extra + base_args(test)))): + print "failed %s" % test + sys.exit(1) + passed += 1 +print "-"*80 +print "passed %d/%d" % (passed, len(tests)) |