test-docker.sh 352 B

1234567891011
  1. # Copyright 2021 The golang.design Initiative Authors.
  2. # All rights reserved. Use of this source code is governed
  3. # by a MIT license that can be found in the LICENSE file.
  4. #
  5. # Written by Changkun Ou <changkun.de>
  6. # require apt-get install xvfb
  7. Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
  8. export DISPLAY=:99.0
  9. go test -v -covermode=atomic ./...