Skiplist Generator (skipgen) is a program that will generate a skiplist given a yaml file and optionally a board name, branch name, and environment name.
Download and Install
Download release for your OS and architecture at https://github.com/Linaro/skipgen/releases. Extract and run the 'skipfile' binary.
skipgen [--board <boardname>] [--branch <branchname>] [--environment <environmentname] [--version] <skipfile.yaml>
Show all skips available:
$ skipgen examples/skipfile.yaml breakpoint_test_arm64 ftracetest fw_filesystem.sh pstore_tests run.sh run_fuse_test.sh run_vmtests seccomp_bpf ...
Show skips that apply to the x15 board in the production environment and branch 4.4:
$ skipgen --board=x15 --environment=staging --branch=4.4 examples/skipfile.yaml run_vmtests seccomp_bpf
- Install golang. i.e. on debian-based systems, run
apt-get install golang.
- Set GOPATH. See https://github.com/golang/go/wiki/SettingGOPATH.
- Install go dependencies.
go get -t ./...
- install golint.
go get -u github.com/golang/lint/golintDon't forget to setup the path PATH="$GOPATH/bin:$PATH"
- make skipgen
skipgen includes unit tests that can be run using
go test. The
target will also run 'go vet' and 'golint'. golint may need to be installed
go get -u github.com/golang/lint/golint)
Create a release in github, and then run the following locally to build and upload the binaries to the release, where 'v0.1.2' is the recent tag:
export GITHUB_TOKEN=xxxxxxxxxxyyyyyyyyzzzzzzzzz git pull make clean goreleaser