sourcegraph/dev/ci/integration/setup-display.sh
Robert Lin 1ab7471f91
dev/ci: restructure integration tests, unify test server setup (#29429)
- unify `sourcegraph/server` setup in integration tests so that we use the same scripts in each
- move all integration tests into new `dev/ci/integration` directory, and introduce a structure of `run.sh` and `test.sh` - see `dev/ci/integration/README.md` for overview
- some minor refactors to unify the tests a bit more
- remove unused `servers.yaml` that was part of the Vagrant setup
2022-01-07 13:39:11 -08:00

6 lines
236 B
Bash
Executable File

#!/usr/bin/env bash
Xvfb "$DISPLAY" -screen 0 1280x1024x24 &
x11vnc -display "$DISPLAY" -forever -rfbport 5900 >/x11vnc.log 2>&1 &
ffmpeg -y -f x11grab -video_size 1280x1024 -i "$DISPLAY" -pix_fmt yuv420p qatest.mp4 >ffmpeg.log 2>&1 &