First version
This commit is contained in:
commit
243e92a9dd
84 files changed
+4012
No files matched your search
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
# Screenshot of the test VM: tests/shot.sh NAME -> test_report/NAME.png
|
||||
cd "$(dirname "$0")/.."
|
||||
mkdir -p test_report tests/work
|
||||
python3 -I tests/monitor.py tests/work/monitor.sock "screendump $PWD/tests/work/shot.ppm"
|
||||
sleep 1
|
||||
python3 -I -c "from PIL import Image; Image.open('tests/work/shot.ppm').save('test_report/$1.png')"
|
||||
echo "test_report/$1.png"
|
||||
Reference in new issue
Block a user