Skip to content

Commit

Permalink
test_functional.py: Add more status messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Sokolow authored and Stephan Sokolow committed Feb 13, 2022
1 parent 6a26f0c commit 15c695e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test_functional.py
Expand Up @@ -150,15 +150,18 @@ def main():
"unit tested.")
log.warning("TODO: Inject a test window into the nested X session so "
"non-windowless commands don't bail out in the common code.")
log.info("Starting test instance of %s", args.x_server)
with x_server(shlex.split(args.x_server),
{0: '1024x768x24', 1: '800x600x24'}) as env:
# TODO: Use a custom configuration file for Openbox
# TODO: Detect once the window manager has started and wait for that
# before running the tests.
# TODO: Proper test windows.
log.info("Starting test copy of Openbox...")
with background_proc(['openbox', '--startup', 'zenity --info'], env):
# TODO: Rework so the process holding the session open can just
# *report* when it's ready.
log.info("Sleeping for 5 seconds...")
import time
time.sleep(5)
run_tests(env)
Expand Down

0 comments on commit 15c695e

Please sign in to comment.