tests: Add capture_screenshot_of_output()
authorBryce Harrington <bryce@osg.samsung.com>
Thu, 14 May 2015 22:07:55 +0000 (15:07 -0700)
committerBryce Harrington <bryce@osg.samsung.com>
Thu, 21 May 2015 22:06:43 +0000 (15:06 -0700)
commit111e022e91f4c3b8c70f74087b46df849e99bbad
tree714fcd23ce30c3704e149a06937ebbede25aa626
parent39a5be2a1fbb2a2664e85f38855a2be39335c8a5
tests: Add capture_screenshot_of_output()

Provides a convenience function for JFDI grabbing of a single
screenshot.  Tests that are doing multiple screenshots or other
fanciness probably will bypass this routine and do things more manually,
but this'll provide a reference implementation.  And hopefully there'll
be enough simple cases that this actually is useful.

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-By: Derek Foreman <derekf@osg.samsung.com>
tests/internal-screenshot-test.c