summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/docker/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/tools/docker/.bashrc')
-rw-r--r--testing/web-platform/tests/tools/docker/.bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/docker/.bashrc b/testing/web-platform/tests/tools/docker/.bashrc
new file mode 100644
index 0000000000..bbe03c489a
--- /dev/null
+++ b/testing/web-platform/tests/tools/docker/.bashrc
@@ -0,0 +1,4 @@
+function xvfb_start() {
+ GEOMETRY="$SCREEN_WIDTH""x""$SCREEN_HEIGHT""x""$SCREEN_DEPTH"
+ xvfb-run --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" $@
+}